Files
redis/src
antirez 7b618823c1 New masters with slots are now targets of migration if others are.
This fixes issue #3043.

Before this fix, after a complete resharding of a master slots
to other nodes, the master remains empty and the slaves migrate away
to other masters with non-zero nodes. However the old master now empty,
is no longer considered a target for migration, because the system has
no way to tell it had slaves in the past.

This fix leaves the algorithm used in the past untouched, but adds a
new rule. When a new or old master which is empty and without slaves,
are assigend with their first slot, if other masters in the cluster have
slaves, they are automatically considered to be targets for replicas
migration.
2016-05-02 16:41:56 +02:00
..
2012-04-13 17:52:33 -07:00
2014-09-29 06:49:07 -04:00
2016-05-02 08:42:22 +02:00
2016-05-02 08:42:14 +02:00
2016-05-02 08:42:14 +02:00
2015-07-27 15:03:10 +02:00
2015-07-27 15:03:10 +02:00
2015-07-27 14:37:58 +02:00
2015-12-13 10:09:18 +01:00
2015-12-17 09:51:54 +01:00
2015-07-14 17:15:37 +02:00
2015-07-14 17:15:37 +02:00
2015-07-27 14:37:58 +02:00
2015-10-30 12:16:40 +01:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-02-17 11:33:08 -05:00
2014-08-08 10:05:32 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2015-07-27 14:37:58 +02:00
2014-07-02 16:31:22 +02:00
2015-07-27 14:37:58 +02:00
2016-02-05 15:54:12 +01:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2011-07-06 15:22:00 +02:00
2016-01-28 12:43:30 +01:00
2015-01-02 11:16:08 -05:00
2015-04-29 10:33:21 +02:00