1. 03 Jul, 2018 1 commit
    • antirez's avatar
      Set repl_down_since to zero on state change. · 677d10b2
      antirez authored
      PR #5081 fixes an "interesting" bug about Redis Cluster failover but in
      general about the updating of repl_down_since, that is used in order to
      count the time a slave was left disconnected from its master.
      
      While the fix provided resolves the specific issue, in general the
      validity of repl_down_since is limited to states that are different
      than the state CONNECTED, and the disconnected time is set when the
      state is DISCONNECTED. However from CONNECTED to other states, the state
      machine must always go to DISCONNECTED first. So it makes sense to set
      the field to zero (since it is meaningless in that context) when the
      state is set to CONNECTED.
      677d10b2
  2. 02 Jul, 2018 1 commit
  3. 30 Jun, 2018 1 commit
  4. 29 Jun, 2018 1 commit
  5. 28 Jun, 2018 10 commits
  6. 27 Jun, 2018 10 commits
  7. 26 Jun, 2018 5 commits
  8. 25 Jun, 2018 9 commits
  9. 24 Jun, 2018 1 commit
  10. 21 Jun, 2018 1 commit