1. 10 Jul, 2017 1 commit
  2. 06 Jul, 2016 3 commits
  3. 01 Jul, 2016 4 commits
  4. 30 Jun, 2016 1 commit
    • antirez's avatar
      In Redis RDB check: initial POC. · e97fadb0
      antirez authored
      So far we used an external program (later executed within Redis) and
      parser in order to check RDB files for correctness. This forces, at each
      RDB format update, to have two copies of the same format implementation
      that are hard to keep in sync. Morover the former RDB checker only
      checked the very high-level format of the file, without actually trying
      to load things in memory. Certain corruptions can only be handled by
      really loading key-value pairs.
      
      This first commit attempts to unify the Redis RDB loadig code with the
      task of checking the RDB file for correctness. More work is needed but
      it looks like a sounding direction so far.
      e97fadb0
  5. 05 Jun, 2016 1 commit
  6. 01 Jun, 2016 1 commit
  7. 27 Jul, 2015 1 commit
  8. 26 Jul, 2015 2 commits
  9. 03 Feb, 2015 1 commit
    • antirez's avatar
      Handle redis-check-rdb as a standalone program. · 7d1e1580
      antirez authored
      This also makes it backward compatible in the usage, but for the command
      name. However the old command name was less obvious so it is worth to
      break it probably.
      
      With the new setup the program main can perform argument parsing and
      everything else useful for an RDB check regardless of the Redis server
      itself.
      7d1e1580
  10. 30 Jan, 2015 1 commit
  11. 28 Jan, 2015 2 commits
    • Matt Stancliff's avatar
      Remove code duplication from check-rdb · 764b000c
      Matt Stancliff authored
      redis-check-rdb (previously redis-check-dump) had every RDB define
      copy/pasted from rdb.h and some defines copied from redis.h.  Since
      the initial copy, some constants had changed in Redis headers and
      check-dump was using incorrect values.
      
      Since check-rdb is now a mode of Redis, the old check-dump code
      is cleaned up to:
        - replace all printf with redisLog (and remove \n from all strings)
        - remove all copy/pasted defines to use defines from rdb.h and redis.h
        - replace all malloc/free with zmalloc/zfree
        - remove unnecessary include headers
      764b000c
    • Matt Stancliff's avatar
      Convert check-dump to Redis check-rdb mode · 145473ac
      Matt Stancliff authored
      redis-check-dump is now named redis-check-rdb and it runs
      as a mode of redis-server instead of an independent binary.
      
      You can now use 'redis-server redis.conf --check-rdb' to check
      the RDB defined in redis.conf.  Using argument --check-rdb
      checks the RDB and exits.  We could potentially also allow
      the server to continue starting if the RDB check succeeds.
      
      This change also enables us to use RDB checking programatically
      from inside Redis for certain failure conditions.
      145473ac
  12. 08 Aug, 2014 3 commits
  13. 07 Aug, 2014 1 commit
  14. 26 Jun, 2014 1 commit
  15. 05 Dec, 2013 1 commit
  16. 19 Jan, 2013 1 commit
  17. 29 Nov, 2012 1 commit
    • antirez's avatar
      Introduced the Build ID in INFO and --version output. · 2f62c966
      antirez authored
      The idea is to be able to identify a build in a unique way, so for
      instance after a bug report we can recognize that the build is the one
      of a popular Linux distribution and perform the debugging in the same
      environment.
      2f62c966
  18. 08 Nov, 2012 1 commit
  19. 22 Oct, 2012 1 commit
    • Schuster's avatar
      redis-check-dump now understands dumps produced by Redis 2.6 · e5f794ff
      Schuster authored
      (Commit message from @antirez as it was missign in the original commits,
      also the patch was modified a bit to still work with 2.4 dumps and to
      avoid if expressions that are always true due to checked types range)
      
      This commit changes redis-check-dump to account for new encodings and
      for the new MSTIME expire format. It also refactors the test for valid
      type into a function.
      
      The code is still compatible with Redis 2.4 generated dumps.
      
      This fixes issue #709.
      e5f794ff
  20. 24 Apr, 2012 1 commit
  21. 10 Mar, 2012 1 commit
  22. 18 Oct, 2011 1 commit
  23. 14 Oct, 2011 1 commit
  24. 02 Nov, 2010 1 commit
  25. 01 Sep, 2010 1 commit
  26. 31 Aug, 2010 2 commits
  27. 01 Jul, 2010 1 commit
    • antirez's avatar
      redis.c split into many different C files. · e2641e09
      antirez authored
      networking related stuff moved into networking.c
      
      moved more code
      
      more work on layout of source code
      
      SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
      
      cleanly compiling again after the first split, now splitting it in more C files
      
      moving more things around... work in progress
      
      split replication code
      
      splitting more
      
      Sets split
      
      Hash split
      
      replication split
      
      even more splitting
      
      more splitting
      
      minor change
      e2641e09
  28. 13 Mar, 2010 1 commit