mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:33:28 +00:00
e21e0ba3dc
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. |
||
---|---|---|
.. | ||
tests | ||
tmp | ||
run.tcl |