1. 05 May, 2014 8 commits
    • antirez's avatar
      CLUSTER SET-CONFIG-EPOCH implemented. · c4c7389f
      antirez authored
      Initially Redis Cluster accepted that after cluster creation all the
      nodes were at configEpoch 0, evolving from zero as failovers happen.
      
      However later the semantic was made more strict in order to make sure a
      cluster has always all the master nodes with a different configEpoch,
      which is more robust in some corner case (especially resulting from
      errors by the system administrator).
      
      To assign different configEpochs to different nodes at startup was a
      task performed naturally by the config conflicts resolution algorithm
      (see the Cluster specification). However this works well only for small
      clusters or when there are actually just a few collisions, since it is
      designed for exceptional cases.
      
      When a large cluster is created hundred of nodes can be at epoch 0, so
      the conflict resolution code is slow to provide an unique config to each
      node. For this reason this new command was introduced. It can be called
      only when a node is totally fresh: no other nodes known, and configEpoch
      set to zero, so it is safe even against misuses.
      
      redis-trib will use the new command in order to start the cluster
      already setting an incremental unique config to every node.
      c4c7389f
    • antirez's avatar
      Cluster test: slots allocation. · 6fc17adc
      antirez authored
      6fc17adc
    • antirez's avatar
      Cluster test: use 20 instances. · 0906ca8a
      antirez authored
      This makes tests a bit slower, but it is better to test things at a
      decent scale instead of using just a few nodes, and for a few tests we
      actually need so many nodes.
      0906ca8a
    • antirez's avatar
      402815cc
    • antirez's avatar
      Cluster test: config epoch conflict resolution. · 6e60e246
      antirez authored
      6e60e246
    • antirez's avatar
      Cluster test: auto-discovery to form full mesh. · b1f6f2ac
      antirez authored
      b1f6f2ac
    • antirez's avatar
      e244bee6
    • antirez's avatar
      6b4e9558
  2. 28 Apr, 2014 14 commits
  3. 23 Apr, 2014 6 commits
  4. 22 Apr, 2014 2 commits
  5. 18 Apr, 2014 10 commits