antirez b93b0adc89 Sentinel: epoch introduced.
Sentinel state now includes the idea of current epoch and config epoch.
In the Hello message, that is now published both on masters and slaves,
a Sentinel no longer just advertises itself but also broadcasts its
current view of the configuration: the master name / ip / port and its
current epoch.

Sentinels receiving such information switch to the new master if the
configuration epoch received is newer and the ip / port of the master
are indeed different compared to the previos ones.
2013-11-11 11:05:58 +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-10-28 11:36:42 +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-11-11 11:05:58 +01: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