1. 02 Dec, 2014 1 commit
  2. 15 Oct, 2014 1 commit
  3. 09 Oct, 2014 1 commit
  4. 08 Oct, 2014 2 commits
    • antirez's avatar
      Cluster: process gossip section only for known nodes. · 5f6950ca
      antirez authored
      With the exception of nodes sending MEET packets: we have to trust them
      since they can send us MEET packets only when the cluster is initially
      created or because sysadmin manual action.
      5f6950ca
    • antirez's avatar
      Cluster: fix logic to detect we are among a minority. · 36e34a65
      antirez authored
      In the cluster evaluation function we are supposed to set the cluster
      state as "fail" if we are among a minority, however the code was not
      detecting to be into a minority partition if exactly half the masters
      were reachable, which is a minority.
      36e34a65
  5. 07 Oct, 2014 1 commit
  6. 03 Oct, 2014 1 commit
    • antirez's avatar
      INCR: Modify incremented object in-place when possible. · 16559b46
      antirez authored
      However we don't try to do this if the integer is already inside a range
      representable with a shared integer.
      
      The performance gain appears to be around ~15% in micro benchmarks,
      however in the long run this also helps to improve locality, so should
      have more, hard to measure, benefits.
      16559b46
  7. 29 Sep, 2014 17 commits
  8. 26 Sep, 2014 1 commit
  9. 25 Sep, 2014 1 commit
    • antirez's avatar
      DEBUG POPULATE two args form implemented. · d4222e6b
      antirez authored
      The old DEBUG POPULATE form for automatic creation of test keys is:
      
          DEBUG POPULATE <count>
      
      Now an additional form is available:
      
          DEBUG POPULATE <count> <prefix>
      
      When prefix is not specified, it defaults to "key", so the keys are
      named incrementally from key:0 to key:<count-1>. Otherwise the specified
      prefix is used instead of "key".
      
      The command is useful in order to populate different Redis instances
      with key names guaranteed to don't collide. There are other debugging
      uses, for example it is possible to add additional N keys using a count
      of N and a random prefix at every call.
      d4222e6b
  10. 18 Sep, 2014 3 commits
  11. 17 Sep, 2014 2 commits
  12. 16 Sep, 2014 3 commits
    • antirez's avatar
      Seek at the end of AOF after truncate call. · 878c089e
      antirez authored
      It is not clear if files open in append only mode will automatically fix
      their offset after a truncate(2) operation. This commit makes sure that
      we reposition the AOF file descriptor offset at the end of the file
      after a truncated AOF is loaded and trimmed to the last valid command.
      878c089e
    • antirez's avatar
      On AOF end of file, truncate the AOF to last valid command. · 0ba8fe1a
      antirez authored
      Recently we introduced the ability to load truncated AOFs, but
      unfortuantely the support was broken since the server, after loading the
      truncated AOF, continues appending to the file that is corrupted at the
      end. The problem is fixed only in the next AOF rewrite.
      
      This commit fixes the issue by truncating the AOF to the last valid
      opcode, and aborting if it is not possible to truncate the file
      correctly.
      0ba8fe1a
    • antirez's avatar
      Don't propagate SAVE. · 046a00a0
      antirez authored
      This is a general fix (check that dirty delta is positive) but actually
      should have as the only effect fixing the SAVE propagation to
      AOF and slaves.
      046a00a0
  13. 11 Sep, 2014 2 commits
    • antirez's avatar
      f5efa9bb
    • antirez's avatar
      Sentinel: fix computation of total number of votes. · f4be6f16
      antirez authored
      The code to check the number of voters was never updated to follow the new
      Sentinel specification, so the number of voters was computed using only
      the set of Sentinels that provided a vote.
      
      This means that there is a changing majority on partitions, even if
      usually the issue is not triggered because of the configured quorum
      check (what was broken was the other implicit check that requires anyway
      half of the known sentinels to agree in order to start a failover).
      f4be6f16
  14. 10 Sep, 2014 1 commit
  15. 09 Sep, 2014 1 commit
  16. 08 Sep, 2014 2 commits