1. 11 May, 2015 1 commit
    • therealbill's avatar
      adding a sentinel command: "flushconfig" · 4e8ccbe7
      therealbill authored
      This new command triggers a config flush to save the in-memory config to
      disk. This is useful for cases of a configuration management system or a
      package manager wiping out your sentinel config while the process is
      still running - and has not yet been restarted. It can also be useful
      for scripting a backup and migrate or clone of a running sentinel.
      4e8ccbe7
  2. 05 May, 2015 6 commits
  3. 04 May, 2015 6 commits
  4. 29 Apr, 2015 3 commits
  5. 28 Apr, 2015 4 commits
    • antirez's avatar
      Fix Sentinel memory leak (hiredis bug) · c806dd79
      antirez authored
      This fixes issue #2535, that was actually an hiredis library bug (I
      submitted an issue and fix to the redis/hiredis repo as well).
      
      When an asynchronous hiredis connection subscribes to a Pub/Sub channel
      and gets an error, and in other related conditions, the function
      redisProcessCallbacks() enters a code path where the link is
      disconnected, however the function returns before freeing the allocated
      reply object. This causes a memory leak. The memory leak was trivial to
      trigger in Redis Sentinel, which uses hiredis, every time we tried to
      subscribe to an instance that required a password, in case the Sentinel
      was configured either with the wrong password or without password at
      all. In this case, the -AUTH error caused the leaking code path to be
      executed.
      
      It was verified with Valgrind that after this change the leak no longer
      happens in Sentinel with a misconfigured authentication password.
      c806dd79
    • clark.kang's avatar
      fix sentinel memory leak · eff212ea
      clark.kang authored
      eff212ea
    • Jan-Erik Rediger's avatar
      One more small fix · fb532881
      Jan-Erik Rediger authored
      fb532881
    • Jan-Erik Rediger's avatar
      Fix spelling and grammatical errors in readme · 3ff49aff
      Jan-Erik Rediger authored
      Closes #2549
      3ff49aff
  6. 27 Apr, 2015 2 commits
  7. 26 Apr, 2015 2 commits
  8. 24 Apr, 2015 1 commit
  9. 23 Apr, 2015 1 commit
  10. 21 Apr, 2015 1 commit
  11. 20 Apr, 2015 2 commits
  12. 19 Apr, 2015 1 commit
  13. 01 Apr, 2015 2 commits
  14. 31 Mar, 2015 3 commits
    • antirez's avatar
      Test: be more patient waiting for servers to exit. · 38680424
      antirez authored
      This should likely fix a false positive when running with the --valgrind
      option.
      38680424
    • Oran Agra's avatar
      fixes to diskless replication. · 159875b5
      Oran Agra authored
      master was closing the connection if the RDB transfer took long time.
      and also sent PINGs to the slave before it got the initial ACK, in which case the slave wouldn't be able to find the EOF marker.
      159875b5
    • antirez's avatar
      Fix setTypeNext call assuming NULL can be passed. · 66f9393e
      antirez authored
      Segfault introduced during a refactoring / warning suppression a few
      commits away. This particular call assumed that it is safe to pass NULL
      to the object pointer argument when we are sure the set has a given
      encoding. This can't be assumed and is now guaranteed to segfault
      because of the new API of setTypeNext().
      66f9393e
  15. 30 Mar, 2015 4 commits
  16. 27 Mar, 2015 1 commit