Details
Description
The replSetMaintenance command does not take the RSTL when changing replication state.
This is problematic for operations that make assertions based on replication state. Operations that hold the RSTL assume that the state does not change.
In one example, changing the replications state from SECONDARY to RECOVERYING in this way can fail an assertion in AutoGetCollectionForRead.
Attachments
Issue Links
- related to
-
DOCS-15125 [Server] compact no longer enters maintenance mode
-
- Closed
-