Commit Graph

  • e4b341a335 Cluster: time switched from seconds to milliseconds. antirez 2013-10-09 16:18:33 +02:00
  • ba42428633 Cluster: time switched from seconds to milliseconds. antirez 2013-10-09 16:18:33 +02:00
  • 1560b70889 Cluster: cluster stuff moved from redis.h to cluster.h. antirez 2013-10-09 15:37:20 +02:00
  • 929b6a4480 Cluster: cluster stuff moved from redis.h to cluster.h. antirez 2013-10-09 15:37:20 +02:00
  • d2cbc8fee3 Merge branch 'bettercluster' into unstable antirez 2013-10-08 13:04:33 +02:00
  • 6fa9b1a420 Merge branch 'bettercluster' into unstable antirez 2013-10-08 13:04:33 +02:00
  • 0f079966c7 Cluster: masters don't vote for a slave with stale config. antirez 2013-10-08 12:45:35 +02:00
  • ae2763f564 Cluster: masters don't vote for a slave with stale config. antirez 2013-10-08 12:45:35 +02:00
  • 26ea55b7f5 Cluster: fix slave data age computation when master is still connected. antirez 2013-10-07 16:07:13 +02:00
  • f7d6ad4366 Cluster: fix slave data age computation when master is still connected. antirez 2013-10-07 16:07:13 +02:00
  • acd9ec222e Cluster: log message improved when FAIL is cleared from a slave node. antirez 2013-10-07 15:44:58 +02:00
  • 2c3301b9f5 Cluster: log message improved when FAIL is cleared from a slave node. antirez 2013-10-07 15:44:58 +02:00
  • e9b8b30c81 Cluster: slave nodes advertise master slots bitmap and configEpoch. antirez 2013-10-07 11:30:58 +02:00
  • 72f38cd70f Cluster: slave nodes advertise master slots bitmap and configEpoch. antirez 2013-10-07 11:30:58 +02:00
  • 8adeb2b2e3 Replication: install the write handler when reusing a cached master. antirez 2013-10-04 16:12:25 +02:00
  • 0150c70b2b Replication: install the write handler when reusing a cached master. antirez 2013-10-04 16:12:25 +02:00
  • 8432ddcedb Replication: install the write handler when reusing a cached master. antirez 2013-10-04 16:12:25 +02:00
  • 1461422ce6 Replication: install the write handler when reusing a cached master. antirez 2013-10-04 16:12:25 +02:00
  • 4cddbc8ad4 Replication: fix master timeout. antirez 2013-10-04 12:59:24 +02:00
  • 6d8c2a4848 Replication: fix master timeout. antirez 2013-10-04 12:59:24 +02:00
  • cca9f8c432 Replication: fix master timeout. antirez 2013-10-04 12:59:24 +02:00
  • b41570f719 Replication: fix master timeout. antirez 2013-10-04 12:59:24 +02:00
  • e2e4c81d9d PSYNC: safer handling of PSYNC requests. antirez 2013-10-04 12:25:09 +02:00
  • d62ae1ec05 PSYNC: safer handling of PSYNC requests. antirez 2013-10-04 12:25:09 +02:00
  • de86e24ba6 Add REWRITE to CONFIG subcommands help message. antirez 2013-09-30 11:53:18 +02:00
  • 4f9a69399b Add REWRITE to CONFIG subcommands help message. antirez 2013-09-30 11:53:18 +02:00
  • cd73a69c18 PSYNC: safer handling of PSYNC requests. antirez 2013-10-04 12:25:09 +02:00
  • 37e06bd952 PSYNC: safer handling of PSYNC requests. antirez 2013-10-04 12:25:09 +02:00
  • dbf6c85d5e Cluster: new clusterDoBeforeSleep() API. antirez 2013-10-03 09:55:20 +02:00
  • 7afc0dd59a Cluster: new clusterDoBeforeSleep() API. antirez 2013-10-03 09:55:20 +02:00
  • 43f3df99c8 Cluster: update cluster config when slave changes master. antirez 2013-10-02 12:27:12 +02:00
  • 211dcbe339 Cluster: update cluster config when slave changes master. antirez 2013-10-02 12:27:12 +02:00
  • 5cbb913994 Cluster: bus messages stats in CLUSTER info. antirez 2013-10-02 10:10:08 +02:00
  • 6c4d904baf Cluster: bus messages stats in CLUSTER info. antirez 2013-10-02 10:10:08 +02:00
  • 90b06ab7b5 Cluster: FAIL messages from unknown senders are handled better. antirez 2013-10-02 09:42:35 +02:00
  • abe81781ae Cluster: FAIL messages from unknown senders are handled better. antirez 2013-10-02 09:42:35 +02:00
  • 3be5010adb Cluster: senderCurrentEpoch == node currentEpoch was too strict. antirez 2013-10-01 17:21:28 +02:00
  • 7970ebd80a Cluster: senderCurrentEpoch == node currentEpoch was too strict. antirez 2013-10-01 17:21:28 +02:00
  • 0000cfbf38 Cluster: fix typo in clusterProcessPacket() comment. antirez 2013-10-01 15:40:20 +02:00
  • f1bfd8233b Cluster: fix typo in clusterProcessPacket() comment. antirez 2013-10-01 15:40:20 +02:00
  • 6ed0dee927 Cluster: time field removed from cluster messages header. antirez 2013-09-30 16:19:44 +02:00
  • 1dedf9aa36 Cluster: time field removed from cluster messages header. antirez 2013-09-30 16:19:44 +02:00
  • 0b3a8f2072 Add REWRITE to CONFIG subcommands help message. antirez 2013-09-30 11:53:18 +02:00
  • 2b93a19537 Add REWRITE to CONFIG subcommands help message. antirez 2013-09-30 11:53:18 +02:00
  • 60d4ae49be Cluster: log message shortened. antirez 2013-09-30 11:51:58 +02:00
  • 2d0844ee37 Cluster: log message shortened. antirez 2013-09-30 11:51:58 +02:00
  • ec3bd0695b Make clear that runids are not cluster node IDs. antirez 2013-09-30 11:48:09 +02:00
  • 707ff0f714 Make clear that runids are not cluster node IDs. antirez 2013-09-30 11:48:09 +02:00
  • 1239f49065 Cluster: detect cluster reconfiguration when master slots drop to 0. antirez 2013-09-30 11:44:23 +02:00
  • 4dc247eb31 Cluster: detect cluster reconfiguration when master slots drop to 0. antirez 2013-09-30 11:44:23 +02:00
  • 2a391b8bac Cluster: re-order failover operations to make it safer. antirez 2013-09-30 10:13:58 +02:00
  • 62b1591439 Cluster: re-order failover operations to make it safer. antirez 2013-09-30 10:13:58 +02:00
  • 0b63dc2841 Cluster: when upading the configEpoch for a node, save config on disk ASAP. antirez 2013-09-30 10:13:33 +02:00
  • b187517719 Cluster: when upading the configEpoch for a node, save config on disk ASAP. antirez 2013-09-30 10:13:33 +02:00
  • 5d393adeac Cluster: fsync data when saving the cluster config. antirez 2013-09-30 10:13:07 +02:00
  • 03ca903983 Cluster: fsync data when saving the cluster config. antirez 2013-09-30 10:13:07 +02:00
  • 8fa4e7817a Cluster: update the node configEpoch when newer is detected. antirez 2013-09-27 09:55:41 +02:00
  • 026e63392e Cluster: update the node configEpoch when newer is detected. antirez 2013-09-27 09:55:41 +02:00
  • c8d6bc94e4 Cluster: react faster when a slave wins an election. antirez 2013-09-26 16:54:43 +02:00
  • 7c4b8f29e7 Cluster: react faster when a slave wins an election. antirez 2013-09-26 16:54:43 +02:00
  • 7dfa4c5981 Cluster: removed an old source of delay to start the slave failover. antirez 2013-09-26 13:28:19 +02:00
  • 42fa46e49a Cluster: removed an old source of delay to start the slave failover. antirez 2013-09-26 13:28:19 +02:00
  • 3bd69bcdf1 Cluster: master node now uses new protocol to vote. antirez 2013-09-26 13:00:41 +02:00
  • a445aa30a0 Cluster: master node now uses new protocol to vote. antirez 2013-09-26 13:00:41 +02:00
  • f941650091 Cluster: slave node now uses the new protocol to get elected. antirez 2013-09-26 11:13:17 +02:00
  • fb9b76fe14 Cluster: slave node now uses the new protocol to get elected. antirez 2013-09-26 11:13:17 +02:00
  • 17ce9a8da0 Document the redis-cli --csv option. Michel Martens 2013-09-21 21:36:32 +02:00
  • 347ab78e90 Document the redis-cli --csv option. Michel Martens 2013-09-21 21:36:32 +02:00
  • d392f33abb Cluster: fix redis-trib node config fingerprinting for new nodes format. antirez 2013-09-25 12:51:01 +02:00
  • 656c3ffe4a Cluster: fix redis-trib node config fingerprinting for new nodes format. antirez 2013-09-25 12:51:01 +02:00
  • 2cac667a8b Cluster: fix redis-trib for added configEpoch field in CLUSTER NODES. antirez 2013-09-25 12:44:47 +02:00
  • 341ed1d1a8 Cluster: fix redis-trib for added configEpoch field in CLUSTER NODES. antirez 2013-09-25 12:44:47 +02:00
  • 24b2894194 Cluster: add currentEpoch to CLUSTER INFO. antirez 2013-09-25 12:38:36 +02:00
  • 32b5410af9 Cluster: add currentEpoch to CLUSTER INFO. antirez 2013-09-25 12:38:36 +02:00
  • 6dbd939a24 Cluster: update our currentEpoch when a greater one is seen. antirez 2013-09-25 12:36:29 +02:00
  • 6ec795d2cf Cluster: update our currentEpoch when a greater one is seen. antirez 2013-09-25 12:36:29 +02:00
  • 1adf457b5b Cluster: broadcast currentEpoch and configEpoch in packets header. antirez 2013-09-25 11:53:35 +02:00
  • d426ada891 Cluster: broadcast currentEpoch and configEpoch in packets header. antirez 2013-09-25 11:53:35 +02:00
  • cdf4eede58 Cluster: configEpoch added in cluster nodes description. antirez 2013-09-25 11:47:13 +02:00
  • 12483b0061 Cluster: configEpoch added in cluster nodes description. antirez 2013-09-25 11:47:13 +02:00
  • 98d1253053 htonu64() and ntohu64 added to endianconv.h. antirez 2013-09-25 09:26:36 +02:00
  • da257afe57 htonu64() and ntohu64 added to endianconv.h. antirez 2013-09-25 09:26:36 +02:00
  • 3a9bf5e618 Cluster: PFAIL -> FAIL transition allowed for slaves. antirez 2013-09-20 11:26:44 +02:00
  • 3c9bb8751a Cluster: PFAIL -> FAIL transition allowed for slaves. antirez 2013-09-20 11:26:44 +02:00
  • 3f5034d1d7 Cluster: added time field in cluster bus messages. antirez 2013-09-20 09:22:21 +02:00
  • 925ea9f858 Cluster: added time field in cluster bus messages. antirez 2013-09-20 09:22:21 +02:00
  • 90e1829ec4 Allow AUTH / PING when disconnected from slave and serve-stale-data is no. antirez 2013-09-17 09:46:01 +02:00
  • 7bec743e66 Allow AUTH / PING when disconnected from slave and serve-stale-data is no. antirez 2013-09-17 09:46:01 +02:00
  • c7cb80c8bb Cluster: don't add an handshake node for the same ip:port pair multiple times. antirez 2013-09-04 15:52:16 +02:00
  • d0e327413b Cluster: don't add an handshake node for the same ip:port pair multiple times. antirez 2013-09-04 15:52:16 +02:00
  • 79a1deac28 Cluster: free HANDSHAKE nodes after node_timeout. antirez 2013-09-04 12:41:21 +02:00
  • 72587e6cc5 Cluster: free HANDSHAKE nodes after node_timeout. antirez 2013-09-04 12:41:21 +02:00
  • ee99df2d59 redis-cli: fix big keys search when the key no longer exist. antirez 2013-09-04 10:35:53 +02:00
  • 2debce325b redis-cli: fix big keys search when the key no longer exist. antirez 2013-09-04 10:35:53 +02:00
  • 232f84ec2d Cluster: CLUSTER SAVECONFIG command added. antirez 2013-09-04 10:32:09 +02:00
  • 8eff339ca4 Cluster: CLUSTER SAVECONFIG command added. antirez 2013-09-04 10:32:09 +02:00
  • 61eb16c4da Cluster: don't save HANDSHAKE nodes in nodes.conf. antirez 2013-09-04 10:25:26 +02:00
  • 528201ad6c Cluster: don't save HANDSHAKE nodes in nodes.conf. antirez 2013-09-04 10:25:26 +02:00
  • 6e460eac58 Cluster: always use safe iteartors to iterate server.cluster->nodes. antirez 2013-09-04 10:07:50 +02:00
  • e5d5da6f7c Cluster: always use safe iteartors to iterate server.cluster->nodes. antirez 2013-09-04 10:07:50 +02:00