Commit Graph

  • 2c5afa88c7 Sentinel: can-failover option removed, many comments fixed. antirez 2013-11-19 09:28:47 +01:00
  • 47df12d5d9 Sentinel: can-failover option removed, many comments fixed. antirez 2013-11-19 09:28:47 +01:00
  • 33ccfbb624 Fix typo 'configuraiton' in rewriteConfigRewriteLine() comment. antirez 2013-11-18 18:18:04 +01:00
  • cd4ff9992b Fix typo 'configuraiton' in rewriteConfigRewriteLine() comment. antirez 2013-11-18 18:18:04 +01:00
  • a6c9d2d796 Sentinel: added config options useful to take state on config rewrite. antirez 2013-11-18 16:02:58 +01:00
  • 232cdb95ab Sentinel: added config options useful to take state on config rewrite. antirez 2013-11-18 16:02:58 +01:00
  • 9cc4330b06 Sentinel: failover abort function simplified. antirez 2013-11-18 11:43:35 +01:00
  • 3a374b0511 Sentinel: failover abort function simplified. antirez 2013-11-18 11:43:35 +01:00
  • 5196131fb9 Sentinel: slaves reconfig delay modified. antirez 2013-11-18 11:37:24 +01:00
  • e0750acf11 Sentinel: slaves reconfig delay modified. antirez 2013-11-18 11:37:24 +01:00
  • 16bc1ae5f4 Sentinel: failover restart time is now multiple of failover timeout. antirez 2013-11-18 11:30:08 +01:00
  • 83316f515c Sentinel: failover restart time is now multiple of failover timeout. antirez 2013-11-18 11:30:08 +01:00
  • 7b7763ff3e Sentinel: state machine and timeouts simplified. antirez 2013-11-18 11:12:58 +01:00
  • 3a56013acb Sentinel: state machine and timeouts simplified. antirez 2013-11-18 11:12:58 +01:00
  • 00cad98228 Sentinel: election timeout define. antirez 2013-11-18 10:08:06 +01:00
  • 4be53b1c5d Sentinel: election timeout define. antirez 2013-11-18 10:08:06 +01:00
  • 297df0e910 Sentinel: fix address of master in Hello messages. antirez 2013-11-14 10:25:55 +01:00
  • 69d826a354 Sentinel: fix address of master in Hello messages. antirez 2013-11-14 10:25:55 +01:00
  • a031dc6efe Sentinel: master address selection in get-master-address refactored. antirez 2013-11-14 10:23:54 +01:00
  • e4c65e72c6 Sentinel: master address selection in get-master-address refactored. antirez 2013-11-14 10:23:54 +01:00
  • d1864486fc Sentinel: fix conditional to only affect slaves with wrong master. antirez 2013-11-14 10:23:05 +01:00
  • c0d7229364 Sentinel: fix conditional to only affect slaves with wrong master. antirez 2013-11-14 10:23:05 +01:00
  • f4216da4f1 Sentinel: simplify and refactor slave reconfig code. antirez 2013-11-14 00:36:43 +01:00
  • dfbd9c5aeb Sentinel: simplify and refactor slave reconfig code. antirez 2013-11-14 00:36:43 +01:00
  • 5ceb9dc93e Sentinel: reconfigure slaves to right master. antirez 2013-11-14 00:29:38 +01:00
  • 64ad6648a8 Sentinel: reconfigure slaves to right master. antirez 2013-11-14 00:29:38 +01:00
  • e7fb6c5697 Sentinel: remember last time slave changed master. antirez 2013-11-14 00:08:13 +01:00
  • 3e27d678da Sentinel: remember last time slave changed master. antirez 2013-11-14 00:08:13 +01:00
  • 4608f5da94 Sentinel: redirect-to-master is not ok with new algorithm. antirez 2013-11-13 17:03:42 +01:00
  • 8297745fa6 Sentinel: redirect-to-master is not ok with new algorithm. antirez 2013-11-13 17:03:42 +01:00
  • f81306af33 Sentinel: safer slave reconfig, master reported role should match. antirez 2013-11-13 17:02:09 +01:00
  • 76a88f56e5 Sentinel: safer slave reconfig, master reported role should match. antirez 2013-11-13 17:02:09 +01:00
  • 406fee011d Sentinel: role reporting fixed and added in SENTINEL output. antirez 2013-11-13 16:36:40 +01:00
  • ddaad9fe2d Sentinel: role reporting fixed and added in SENTINEL output. antirez 2013-11-13 16:36:40 +01:00
  • cc721419ac Sentinel: being a master and reporting as slave is considered SDOWN. antirez 2013-11-13 16:28:52 +01:00
  • a0afa66f4b Sentinel: being a master and reporting as slave is considered SDOWN. antirez 2013-11-13 16:28:52 +01:00
  • b27dd8b9d3 Sentinel: make sure role_reported is always updated. antirez 2013-11-13 16:21:58 +01:00
  • 17718fdcba Sentinel: make sure role_reported is always updated. antirez 2013-11-13 16:21:58 +01:00
  • 72629ad358 Sentinel: track role change time. Wait before reconfigurations. antirez 2013-11-13 16:18:23 +01:00
  • 46a053d34b Sentinel: track role change time. Wait before reconfigurations. antirez 2013-11-13 16:18:23 +01:00
  • e1d06fdeb9 Sentinel: fix no-down check in master->slave conversion code. antirez 2013-11-13 13:43:59 +01:00
  • 9e40c46f5e Sentinel: fix no-down check in master->slave conversion code. antirez 2013-11-13 13:43:59 +01:00
  • 47598f4a88 Sentinel: readd slaves back after a master reset. antirez 2013-11-13 13:01:11 +01:00
  • ae35b7e240 Sentinel: readd slaves back after a master reset. antirez 2013-11-13 13:01:11 +01:00
  • f5b5a8eb9f Sentinel: sentinelResetMaster() new flag to avoid removing set of sentinels. antirez 2013-11-13 10:30:45 +01:00
  • 6bd4f6bffe Sentinel: sentinelResetMaster() new flag to avoid removing set of sentinels. antirez 2013-11-13 10:30:45 +01:00
  • 9896fd51e0 Sentinel: receive Pub/Sub messages from slaves. antirez 2013-11-12 23:07:33 +01:00
  • 1569af1f23 Sentinel: receive Pub/Sub messages from slaves. antirez 2013-11-12 23:07:33 +01:00
  • 37203602f9 Sentinel: change event name when converting master to slave. antirez 2013-11-12 23:00:14 +01:00
  • dfa5f8b777 Sentinel: change event name when converting master to slave. antirez 2013-11-12 23:00:14 +01:00
  • 4d365131b0 Sentinel: added config-epoch to SENTINEL masters output. antirez 2013-11-12 17:21:48 +01:00
  • 24158d1488 Sentinel: added config-epoch to SENTINEL masters output. antirez 2013-11-12 17:21:48 +01:00
  • 1e74623446 Sentinel: new failover algo, desync slaves and update config epoch. antirez 2013-11-12 17:07:31 +01:00
  • d2bc6dc39a Sentinel: new failover algo, desync slaves and update config epoch. antirez 2013-11-12 17:07:31 +01:00
  • 61794132b2 Sentinel: when starting failover seek for votes ASAP. antirez 2013-11-12 16:38:02 +01:00
  • 4a128b949d Sentinel: when starting failover seek for votes ASAP. antirez 2013-11-12 16:38:02 +01:00
  • d63c15923f Sentinel: +new-epoch events. antirez 2013-11-12 13:35:25 +01:00
  • e6b9d5e97e Sentinel: +new-epoch events. antirez 2013-11-12 13:35:25 +01:00
  • ed01b141e8 Sentinel: wait some time between failover attempts. antirez 2013-11-12 13:30:31 +01:00
  • 54c447be52 Sentinel: wait some time between failover attempts. antirez 2013-11-12 13:30:31 +01:00
  • 8246e06ee9 Sentinel: allow to vote for myself. antirez 2013-11-12 11:32:40 +01:00
  • ab4b2ec88f Sentinel: allow to vote for myself. antirez 2013-11-12 11:32:40 +01:00
  • c53ced91ed Sentinel: fix PUBLISH to masters and slaves. antirez 2013-11-12 11:10:10 +01:00
  • b6b65b29c0 Sentinel: fix PUBLISH to masters and slaves. antirez 2013-11-12 11:10:10 +01:00
  • 0e359cc68e Sentinel: epoch introduced in leader vote. antirez 2013-11-12 11:09:35 +01:00
  • 90ab62fd5e Sentinel: epoch introduced in leader vote. antirez 2013-11-12 11:09:35 +01:00
  • 6273e87b4a Sentinel: leadership handling changes WIP. antirez 2013-11-11 18:30:11 +01:00
  • 8c1bf9a2bd Sentinel: leadership handling changes WIP. antirez 2013-11-11 18:30:11 +01:00
  • e46942e4b0 Sentinel: handle Hello messages received via slaves correctly. antirez 2013-11-11 17:10:28 +01:00
  • 0bac36d0a1 Sentinel: handle Hello messages received via slaves correctly. antirez 2013-11-11 17:10:28 +01:00
  • 3d7000f281 Sentinel: remove code not useful in the new design. antirez 2013-11-11 12:05:16 +01:00
  • 9e1b27d49e Sentinel: remove code not useful in the new design. antirez 2013-11-11 12:05:16 +01:00
  • 49170f6c12 Sentinel: epoch introduced. antirez 2013-11-11 11:05:58 +01:00
  • b93b0adc89 Sentinel: epoch introduced. antirez 2013-11-11 11:05:58 +01:00
  • c46f655c90 Log to what master a slave is going to connect to. antirez 2013-11-11 09:25:36 +01:00
  • b2f834390c Log to what master a slave is going to connect to. antirez 2013-11-11 09:25:36 +01:00
  • e159239f9c Cluster: removed not needed newline at end of redisLog() msg. antirez 2013-11-08 17:27:59 +01:00
  • a5e7358a12 Cluster: removed not needed newline at end of redisLog() msg. antirez 2013-11-08 17:27:59 +01:00
  • a67935e5e3 Cluster: send a single UPDATE packet for now. antirez 2013-11-08 17:25:49 +01:00
  • 28071caf38 Cluster: send a single UPDATE packet for now. antirez 2013-11-08 17:25:49 +01:00
  • a146482c83 Cluster: replace hardcoded 4096 for bus msg len with sizeof(). antirez 2013-11-08 17:19:19 +01:00
  • d289c628b1 Cluster: replace hardcoded 4096 for bus msg len with sizeof(). antirez 2013-11-08 17:19:19 +01:00
  • 36db83ac50 Cluster: slots update refactored + UPDATE msg processing. antirez 2013-11-08 17:02:10 +01:00
  • 94a07d5901 Cluster: slots update refactored + UPDATE msg processing. antirez 2013-11-08 17:02:10 +01:00
  • a19147c2fa Cluster: UPDATE msg data structure and sending function. antirez 2013-11-08 16:26:50 +01:00
  • dc43f66eac Cluster: UPDATE msg data structure and sending function. antirez 2013-11-08 16:26:50 +01:00
  • 4666966c9f Cluster: refactoring of slots update code and more. antirez 2013-11-08 10:32:16 +01:00
  • 6c6572be95 Cluster: refactoring of slots update code and more. antirez 2013-11-08 10:32:16 +01:00
  • 8c2127f9c9 Fix broken rdbWriteRaw() return value check in rdb.c. antirez 2013-11-07 23:53:18 +01:00
  • d3588dc194 Fix broken rdbWriteRaw() return value check in rdb.c. antirez 2013-11-07 23:53:18 +01:00
  • 605ba6ad38 redis-trib: fixed slot allocation when --replicas is used. antirez 2013-11-07 16:12:06 +01:00
  • d75ab87226 redis-trib: fixed slot allocation when --replicas is used. antirez 2013-11-07 16:12:06 +01:00
  • 9982e0aaa3 Merge branch 'unstable' of github.com:/antirez/redis into unstable antirez 2013-11-06 11:30:44 +01:00
  • e1a1d904de Merge branch 'unstable' of github.com:/antirez/redis into unstable antirez 2013-11-06 11:30:44 +01:00
  • b64dbf7387 Sentinel: sentinelSendSlaveOf() was missing a var and the prototype. antirez 2013-11-06 11:23:49 +01:00
  • 80da056c29 Sentinel: sentinelSendSlaveOf() was missing a var and the prototype. antirez 2013-11-06 11:23:49 +01:00
  • 3be2b18d9f Sentinel: increment pending_commands counter in two more places. antirez 2013-11-06 11:21:44 +01:00
  • 23800d9e49 Sentinel: increment pending_commands counter in two more places. antirez 2013-11-06 11:21:44 +01:00
  • 1071abc4a4 Sentinel: always send CONFIG REWRITE when changing instance role. antirez 2013-11-05 17:23:11 +01:00
  • 671c1dfb56 Sentinel: always send CONFIG REWRITE when changing instance role. antirez 2013-11-05 17:23:11 +01:00