6 Commits

Author SHA1 Message Date
Matt Stancliff
22e6f434f8 Spell software correctly 2014-10-06 09:59:52 +02:00
antirez
5d16a838db Sentinel test: more correct sentinels config reset.
In the initialization test for each instance we used to unregister the
old master and register it again to clear the config.
However there is a race condition doing this: as soon as we unregister
and re-register "mymaster", another Sentinel can update the new
configuration with the old state because of gossip "hello" messages.

So the correct procedure is instead, unregister "mymaster" from all the
sentinel instances, and re-register it everywhere again.
2014-06-23 14:04:09 +02:00
antirez
2355ae9bc6 Sentinel test: tolerate larger delays in init tests. 2014-06-19 16:10:20 +02:00
antirez
fd2faee5de Sentinel test: unit 02, avoid some time related false positives. 2014-06-19 16:10:17 +02:00
antirez
7665cc67b3 Sentinel test: add manual failover test. 2014-06-19 10:32:38 +02:00
antirez
eef369b66a Sentinel framework new layout back ported 2.8.
Functionally the same, but makes cherry picking simpler.
2014-06-18 16:14:33 +02:00