antirez f467e1fce3 Cluster: ability to prevent slaves from failing over their masters.
This commit, in some parts derived from PR #3041 which is no longer
possible to merge (because the user deleted the original branch),
implements the ability of slaves to have a special configuration
preventing that they try to start a failover when the master is failing.

There are multiple reasons for wanting this, and the feautre was
requested in issue #3021 time ago.

The differences between this patch and the original PR are the
following:

1. The flag is saved/loaded on the nodes configuration.
2. The 'myself' node is now flag-aware, the flag is updated as needed
   when the configuration is changed via CONFIG SET.
3. The flag name uses NOFAILOVER instead of NO_FAILOVER to be consistent
   with existing NOADDR.
4. The redis.conf documentation was rewritten.

Thanks to @deep011 for the original patch.
2018-03-14 14:01:38 +01:00
..
2012-04-13 17:52:33 -07:00
2016-04-25 16:49:57 +03:00
2016-06-07 16:46:00 -04:00
2017-08-08 17:45:51 +08:00
2016-04-04 08:50:58 +02:00
2015-10-01 13:02:25 +02:00
2017-12-05 15:38:03 +01:00
2017-12-05 15:38:03 +01:00
2017-12-05 15:38:03 +01:00
2016-07-27 11:34:25 +02:00
2016-07-27 11:34:25 +02:00
2016-06-14 14:45:28 +02:00
2018-02-14 00:12:13 +09:00
2014-08-08 10:05:32 +02:00
2018-02-27 21:55:20 +09:00
2017-01-18 17:12:07 +01:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2017-02-21 17:07:28 +01:00
2014-07-02 16:31:22 +02:00
2017-12-05 17:42:19 +08:00
2017-01-11 19:24:19 +02:00
2011-07-06 15:22:00 +02:00