-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Repl 2021-06-28, Repl 2021-07-12
We currently sometimes check if the global lock was taken in a mode conflicting with writes to ensure that an operation will be killed during step up or step down (like here). However, that's no longer the only situation that we kill an opCtx anymore, so we should update those checks to call opCtx->shouldAlwaysInterruptAtStepDownOrUp() as well.
- is related to
-
SERVER-49237 Add a way for OperationContexts to opt-in to always getting interrupted at stepdown
- Closed