antirez
796f4ae9f7
CLUSTER RESET implemented.
...
The new command is able to reset a cluster node so that it starts again
as a fresh node. By default the command performs a soft reset (the same
as calling it as CLUSTER RESET SOFT), and the following steps are
performed:
1) All slots are set as unassigned.
2) The list of known nodes is flushed.
3) Node is set as master if it is a slave.
When an hard reset is performed with CLUSTER RESET HARD the following
additional operations are performed:
4) A new Node ID is created at random.
5) Epochs are set to 0.
CLUSTER RESET is useful both when the sysadmin wants to reconfigure a
node with a different role (for example turning a slave into a master)
and for testing purposes.
It also may play a role in automatically provisioned Redis Clusters,
since it allows to reset a node back to the initial state in order to be
reconfigured.
2014-05-15 11:43:06 +02:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2014-04-24 17:03:07 +02:00
2014-03-04 17:36:45 -05:00
2014-04-28 17:36:57 +02:00
2012-11-08 18:31:32 +01:00
2013-01-19 10:59:44 +01:00
2012-11-22 10:12:11 +01:00
2014-03-30 18:32:17 +02:00
2013-12-04 16:20:03 +01:00
2014-05-15 11:43:06 +02:00
2014-03-27 15:01:24 +01:00
2014-04-15 17:46:51 +02:00
2014-05-07 16:12:32 +02:00
2013-01-19 10:59:44 +01:00
2012-04-09 12:20:47 +02:00
2012-11-29 14:20:08 +01:00
2014-05-14 10:46:37 +02:00
2014-05-09 15:02:29 +02:00
2014-03-20 15:50:46 +01:00
2014-03-20 15:50:46 +01:00
2012-02-14 16:11:46 +01:00
2013-09-25 09:26:36 +02:00
2013-05-17 17:19:02 +09:00
2014-04-22 16:14:38 +02:00
2014-04-17 18:05:27 +02:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2013-01-19 10:59:44 +01:00
2014-03-28 12:11:55 +01:00
2014-03-31 19:51:34 +02:00
2013-01-21 12:34:22 +01:00
2013-02-24 18:17:46 +01:00
2013-03-26 10:58:10 +01:00
2014-04-28 17:36:57 +02:00
2014-01-08 17:18:34 +01:00
2014-05-07 17:05:09 +02:00
2013-08-19 15:01:21 +02:00
2012-11-08 18:31:32 +01:00
2014-03-20 16:20:37 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2014-05-12 11:48:14 +02:00
2013-01-19 10:59:44 +01:00
2013-10-28 18:13:42 +01:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2014-03-13 15:11:08 +01:00
2014-05-12 11:06:37 +02:00
2014-05-12 10:01:59 +02:00
2014-05-14 10:46:37 +02:00
2013-08-19 15:01:21 +02:00
2013-01-19 10:59:44 +01:00
2014-04-28 17:36:57 +02:00
2014-01-22 09:54:55 +01:00
2013-07-16 15:43:36 +02:00
2014-05-07 16:12:32 +02:00
2014-04-28 16:38:17 +02:00
2014-04-28 16:55:43 +02:00
2014-05-08 16:38:53 +02:00
2013-02-27 11:50:35 +01:00
2013-01-19 10:59:44 +01:00
2010-07-01 14:38:51 +02:00
2013-07-22 10:31:38 +02:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2014-03-10 16:28:18 +01:00
2012-05-02 22:41:50 +02:00
2013-11-05 15:47:50 +01:00
2013-12-10 18:46:24 +01:00
2013-12-13 11:34:21 +01:00
2014-03-30 18:32:17 +02:00
2014-04-18 13:01:04 +02:00
2012-11-08 18:31:32 +01:00
2014-04-23 12:07:25 +02:00
2013-07-02 12:08:07 +02:00
2011-07-06 15:22:00 +02:00
2013-05-27 11:44:04 +02:00
2013-08-19 15:01:21 +02:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2013-09-03 15:15:51 +02:00
2014-03-24 12:00:20 +01:00
2014-03-24 12:00:20 +01:00