1. 29 1月, 2014 6 次提交
  2. 28 1月, 2014 4 次提交
  3. 25 1月, 2014 1 次提交
  4. 24 1月, 2014 1 次提交
  5. 23 1月, 2014 3 次提交
  6. 22 1月, 2014 3 次提交
  7. 20 1月, 2014 4 次提交
    • A
      Cluster: master nodes wait before rejoining the cluster after reboot. · 80e80668
      antirez 提交于
      One of the simple heuristics used by Redis Cluster in order to avoid
      losing data in the typical failure modes created by the asynchronous
      replication with the slaves (a master is unable, when accepting a
      write, to immediately tell if it should be really accepted or refused
      because of a configuration change), is to wait some time before to
      rejoin the cluster after being partitioned away from the majority of
      instances.
      
      A similar condition happens when a master is restarted. It does not know
      if it was already failed over, nor if all the clients have already an
      updated configuration about the cluster map, so it is possible that
      clients will try to write to stale masters that were restarted.
      
      In a similar way this commit changes masters behavior so they wait
      2000 milliseconds before accepting writes after a reboot. There is
      nothing special about 2 seconds if not to be a value supposedly larger
      a few orders of magnitude compared to the cluster bus communication
      latencies.
      80e80668
    • A
      Cluster: debug printf statemets removed. · e6970e20
      antirez 提交于
      These were committed for error after being inserted in order to fix an
      issue.
      e6970e20
    • A
      e4a5605c
    • A
      437fc2cb
  8. 18 1月, 2014 3 次提交
  9. 17 1月, 2014 6 次提交
  10. 16 1月, 2014 2 次提交
  11. 15 1月, 2014 7 次提交