1. 20 Mar, 2013 1 commit
    • antirez's avatar
      Cluster: add sender flags in cluster bus messages header. · 026b9483
      antirez authored
      Sender flags were not propagated for the sender, but only for nodes in
      the gossip section. This is odd and in the next commits we'll need to
      get updated flags for the sender node, so this commit adds a new field
      in the cluster messages header.
      
      The message header is the same size as we reused some free space that
      was marked as 'unused' because of alignment concerns.
      026b9483
  2. 19 Mar, 2013 3 commits
    • antirez's avatar
      Cluster: turn old master into a replica of node that failed over. · d15b027d
      antirez authored
      So when the failing master node is back in touch with the cluster,
      instead of remaining unused it is converted into a replica of the
      new master, ready to perform the fail over if the new master node
      will fail at some point.
      
      Note that as a side effect clients with stale configuration are now
      not an issue as well, as the node converted into a slave will not
      accept queries but will redirect clients accordingly.
      d15b027d
    • antirez's avatar
      Cluster: node replication role change handle improved. · 4d626230
      antirez authored
      The code handling a master that turns into a slave or the contrary was
      improved in order to avoid repeating the same operations. Also
      the readability and conceptual simplicity was improved.
      4d626230
    • antirez's avatar
      Cluster: new command CLUSTER FLUSHSLOTS. · 88221f88
      antirez authored
      It's just a simpler way to CLUSTER DELSLOTS with all the slots as
      arguments, in order to obtain a node without assigned slots for
      reconfiguration.
      88221f88
  3. 15 Mar, 2013 10 commits
  4. 14 Mar, 2013 5 commits
  5. 13 Mar, 2013 7 commits
  6. 07 Mar, 2013 3 commits
  7. 06 Mar, 2013 2 commits
  8. 05 Mar, 2013 6 commits
  9. 04 Mar, 2013 3 commits