1. 02 Feb, 2015 1 commit
    • mattcollier's avatar
      Update redis-cli.c · 61290d81
      mattcollier authored
      Code was adding '\n'  (line 521) to the end of NIL values exlusively making csv output inconsistent.  Removed '\n'
      61290d81
  2. 22 Jan, 2015 3 commits
  3. 21 Jan, 2015 1 commit
    • antirez's avatar
      AOF rewrite: set iterator var to NULL when freed. · e7aa5fb5
      antirez authored
      The cleanup code expects that if 'di' is not NULL, it is a valid
      iterator that should be freed.
      
      The result of this bug was a crash of the AOF rewriting process if an
      error occurred after the DBs data are written and the iterator is no
      longer valid.
      e7aa5fb5
  4. 09 Jan, 2015 2 commits
  5. 23 Dec, 2014 1 commit
    • antirez's avatar
      INFO loading stats: three fixes. · 22a0fe8d
      antirez authored
      1. Server unxtime may remain not updated while loading AOF, so ETA is
      not updated correctly.
      
      2. Number of processed byte was not initialized.
      
      3. Possible division by zero condition (likely cause of issue #1932).
      22a0fe8d
  6. 22 Dec, 2014 1 commit
  7. 19 Dec, 2014 1 commit
  8. 17 Dec, 2014 1 commit
  9. 16 Dec, 2014 1 commit
  10. 13 Dec, 2014 2 commits
  11. 12 Dec, 2014 1 commit
  12. 11 Dec, 2014 3 commits
  13. 09 Dec, 2014 12 commits
  14. 04 Dec, 2014 2 commits
  15. 03 Dec, 2014 4 commits
  16. 02 Dec, 2014 2 commits
    • antirez's avatar
      164ad2ea
    • antirez's avatar
      Mark PFCOUNT as read-only, even if not true. · 0e40124d
      antirez authored
      PFCOUNT is technically speaking a write command, since the cached value
      of the HLL is exposed in the data structure (design error, mea culpa), and
      can be modified by PFCOUNT.
      
      However if we flag PFCOUNT as "w", read only slaves can't execute the
      command, which is a problem since there are environments where slaves
      are used to scale PFCOUNT reads.
      
      Nor it is possible to just prevent PFCOUNT to modify the data structure
      in slaves, since without the cache we lose too much efficiency.
      
      So while this commit allows slaves to create a temporary inconsistency
      (the strings representing the HLLs in the master and slave can be
      different in certain moments) it is actually harmless.
      
      In the long run this should be probably fixed by turning the HLL into a
      more opaque representation, for example by storing the cached value in
      the part of the string which is not exposed (this should be possible
      with SDS strings).
      0e40124d
  17. 28 Nov, 2014 2 commits