Skip to content

Add persistence and new commands

Compare
Choose a tag to compare
@aw aw released this 30 Jul 11:13
· 16 commits to master since this release
0ac07dd
  • Fix bug where client IP is not saved in client list
  • Fix bug where client would not disconnect when sent a kill command
  • Add persistence which writes commands in an AOF using WAL method
  • Saves and restores a DB from disk
  • Replays the AOF after restoring the DB
  • Add 'SAVE' and 'BGSAVE' commands
  • Add 'CLIENT' command
  • Add 'PING' command
  • Add 'EXISTS' command
  • Add 'GETSET' command
  • Add 'CONVERT' command
  • Remove 'LOLWUT' command
  • Run BGSAVE as a scheduled task
  • Add statistics for 'persistence'
  • Add option to save the DB in binary format
  • Add and fix unit tests
  • Add timestamp to output and cleanup error messages etc
  • Don't require IDENT to be sent by the client during auth
  • Fix problem where messages were lost, abort a client connection that takes too long (60s)
  • Major optimization, RPUSH with multiple elements is O(N) instead of O(2^N)
  • Other minor fixes and code cleanup