-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v5.0, v4.4
-
142
withTemporaryOperationContext is used to submit range deletion tasks, but it can run after the node is no longer a primary and when that occurs the opCtx that it creates will not get interrupted by stepdown. Therefore, we should check after creating the opCtx that the node is still a primary before calling callable.
- related to
-
SERVER-60161 Deadlock between config server stepdown and _configsvrRenameCollectionMetadata command
- Closed