-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.2, v4.0
-
Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07, Repl 2019-10-21
-
10
To make sure all nodes are secondary on shutdown validation, we send stepdown command and then replSetFreeze to the nodes. However, if a concurrent election is running when receiving the stepdown or after stepdown but before replSetFreeze, stepdown will fail with NotMaster and freeze will fail too.
We need to keep running the two commands until replSetFreeze succeeds.
- is duplicated by
-
SERVER-42747 validate_collections_on_shutdown.js should be resilient to elections
- Closed