1. 05 Dec, 2013 1 commit
    • antirez's avatar
      Fix clients timeout handling. · 58713c6b
      antirez authored
      During the refactoring of blocking operations, commit
      82b672f6, a bug was introduced where
      a milliseconds time is compared to a seconds time, so all the clients
      always appear to timeout if timeout is set to non-zero value.
      
      Thanks to Jonathan Leibiusky for finding the bug and helping verifying
      the cause and fix.
      58713c6b
  2. 04 Dec, 2013 1 commit
  3. 03 Dec, 2013 4 commits
  4. 02 Dec, 2013 3 commits
    • antirez's avatar
      Sentinel: don't write HZ when flushing config. · f80cf736
      antirez authored
      See issue #1419.
      f80cf736
    • antirez's avatar
      Sentinel: better time desynchronization. · dffebbc9
      antirez authored
      Sentinels are now desynchronized in a better way changing the time
      handler frequency between 10 and 20 HZ. This way on average a
      desynchronization of 25 milliesconds is produced that should be larger
      enough compared to network latency, avoiding most split-brain condition
      during the vote.
      
      Now that the clocks are desynchronized, to have larger random delays when
      performing operations can be easily achieved in the following way.
      Take as example the function that starts the failover, that is
      called with a frequency between 10 and 20 HZ and will start the
      failover every time there are the conditions. By just adding as an
      additional condition something like rand()%4 == 0, we can amplify the
      desynchronization between Sentinel instances easily.
      
      See issue #1419.
      dffebbc9
    • antirez's avatar
      Cluster: nodes re-addition blacklist API. · 6fa42b75
      antirez authored
      6fa42b75
  5. 29 Nov, 2013 2 commits
  6. 28 Nov, 2013 3 commits
  7. 26 Nov, 2013 1 commit
  8. 25 Nov, 2013 2 commits
  9. 21 Nov, 2013 7 commits
  10. 20 Nov, 2013 2 commits
  11. 19 Nov, 2013 12 commits
  12. 18 Nov, 2013 2 commits