-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:None
-
Replication
-
ALL
The priority takeover, catchup takeover, and election timeout callback functions all schedule an election ("if eligible") regardless of whether the callback was canceled or not. They should not schedule elections nor reschedule the election timeout if they are canceled.
Additionally, we should have tests which verify that catchup and priority takeover do not cause elections, even dry runs, when canceled (when the primary catches up for catchup takeover, when a different primary takes over for priority takeover).
- related to
-
SERVER-42385 election timeout callbacks are scheduled too frequently
- Closed