-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
v3.4
-
Repl 2017-02-13, Repl 2017-03-06
We do not apply any random offset to the priority takeover election timeout. This means that if two nodes with the same priority discover that a lower priority primary at about the same time, they have an increased chance of both running for takeover election, both losing, and putting the system back into the "scramble to find any primary" behavior. This might then allow the low-priority node to get re-elected as primary, restarting the process.