1. 21 Nov, 2013 6 commits
    • antirez's avatar
      Sentinel: fix PUBLISH to masters and slaves. · eba4775b
      antirez authored
      eba4775b
    • antirez's avatar
      Sentinel: epoch introduced in leader vote. · b95c6ed7
      antirez authored
      b95c6ed7
    • antirez's avatar
      Sentinel: leadership handling changes WIP. · 663d79c0
      antirez authored
      Changes to leadership handling.
      
      Now the leader gets selected by every Sentinel, for a specified epoch,
      when the SENTINEL is-master-down-by-addr is sent.
      
      This command now includes the runid and the currentEpoch of the instance
      seeking for a vote. The Sentinel only votes a single time in a given
      epoch.
      
      Still a work in progress, does not even compile at this stage.
      663d79c0
    • antirez's avatar
      Sentinel: handle Hello messages received via slaves correctly. · b72985d7
      antirez authored
      Even when messages are received via the slave, we should perform
      operations (like adding a new Sentinel) in the context of the master.
      b72985d7
    • antirez's avatar
      fe7f96f1
    • antirez's avatar
      Sentinel: epoch introduced. · be2ef1b5
      antirez authored
      Sentinel state now includes the idea of current epoch and config epoch.
      In the Hello message, that is now published both on masters and slaves,
      a Sentinel no longer just advertises itself but also broadcasts its
      current view of the configuration: the master name / ip / port and its
      current epoch.
      
      Sentinels receiving such information switch to the new master if the
      configuration epoch received is newer and the ip / port of the master
      are indeed different compared to the previos ones.
      be2ef1b5
  2. 11 Nov, 2013 1 commit
  3. 10 Nov, 2013 1 commit
  4. 07 Nov, 2013 1 commit
  5. 06 Nov, 2013 4 commits
  6. 05 Nov, 2013 8 commits
  7. 31 Oct, 2013 5 commits
  8. 30 Oct, 2013 6 commits
  9. 29 Oct, 2013 8 commits