-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Replication
-
ALL
-
5
validate_collections_on_shutdown attempts to step down the node, then to freeze it. It assumes that if replSetFreeze fails with NotSecondary, it means the node is not initialized. Unfortunately, this can also happen if an election is running; in that case the node will not step down (because it is not master) nor freeze (because it is running an election). This situation can be detected because replSetStepDown will return NotMaster in that case; if replSetStepDown returns NotMaster and replSetFreeze returns NotSeconday, we should skip collection validation.
- duplicates
-
SERVER-42262 Repeat stepdown and freeze on test shutdown validation
- Closed
- is related to
-
SERVER-39777 step down nodes with a high freeze timeout before validating them on shutdown
- Closed