antirez dffebbc904 Sentinel: better time desynchronization.
Sentinels are now desynchronized in a better way changing the time
handler frequency between 10 and 20 HZ. This way on average a
desynchronization of 25 milliesconds is produced that should be larger
enough compared to network latency, avoiding most split-brain condition
during the vote.

Now that the clocks are desynchronized, to have larger random delays when
performing operations can be easily achieved in the following way.
Take as example the function that starts the failover, that is
called with a frequency between 10 and 20 HZ and will start the
failover every time there are the conditions. By just adding as an
additional condition something like rand()%4 == 0, we can amplify the
desynchronization between Sentinel instances easily.

See issue #1419.
2013-12-02 12:29:42 +01:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2013-07-10 14:37:13 +02:00
2013-07-08 16:08:36 +02:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-08-27 11:53:49 +02:00
2013-11-05 11:56:11 +01:00
2013-10-25 10:49:48 +02:00
2013-05-14 11:23:16 +02:00
2013-01-19 10:59:44 +01:00
2013-10-04 13:01:45 +02:00
2013-06-21 12:07:53 +02:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-07-16 15:43:36 +02:00
2013-08-12 11:38:21 +02:00
2013-01-19 10:59:44 +01:00
2013-07-24 18:59:54 +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-09-03 15:15:51 +02:00
2013-01-19 10:59:44 +01:00