1. 17 Dec, 2013 5 commits
  2. 05 Dec, 2013 1 commit
  3. 02 Dec, 2013 1 commit
  4. 29 Nov, 2013 2 commits
  5. 08 Nov, 2013 6 commits
  6. 05 Nov, 2013 1 commit
  7. 11 Oct, 2013 1 commit
  8. 09 Oct, 2013 4 commits
  9. 08 Oct, 2013 1 commit
    • antirez's avatar
      Cluster: masters don't vote for a slave with stale config. · ae2763f5
      antirez authored
      When a slave requests our vote, the configEpoch he claims for its master
      and the set of served slots must be greater or equal to the configEpoch
      of the nodes serving these slots in the current configuraiton of the
      master granting its vote.
      
      In other terms, masters don't vote for slaves having a stale
      configuration for the slots they want to serve.
      ae2763f5
  10. 07 Oct, 2013 3 commits
  11. 03 Oct, 2013 1 commit
    • antirez's avatar
      Cluster: new clusterDoBeforeSleep() API. · 7afc0dd5
      antirez authored
      The new API is able to remember operations to perform before returning
      to the event loop, such as checking if there is the failover quorum for
      a slave, save and fsync the configuraiton file, and so forth.
      
      Because this operations are performed before returning on the event
      loop we are sure that messages that are sent in the same event loop run
      will be delivered *after* the configuration is already saved, that is a
      requirement sometimes. For instance we want to publish a new epoch only
      when it is already stored in nodes.conf in order to avoid returning back
      in the logical clock when a node is restarted.
      
      This new API provides a big performance advantage compared to saving and
      possibly fsyncing the configuration file multiple times in the same
      event loop run, especially in the case of big clusters with tens or
      hundreds of nodes.
      7afc0dd5
  12. 02 Oct, 2013 3 commits
  13. 01 Oct, 2013 2 commits
  14. 30 Sep, 2013 6 commits
  15. 27 Sep, 2013 1 commit
  16. 26 Sep, 2013 2 commits