PreparedTransaction | IndexBuild (uninterruptible by stepdown) | OtherCommand | StepDownThread |
---|---|---|---|
Hold coll MODE_IX lock | |||
Enqueue coll MODE_X lock (does not hold RSTL) | |||
AutoGetCollection(MODE_IS) | |||
|
|||
Enqueue RSTL MODE_X |
Stepdown does not kill operations that do no take locks conflicting with writes.
- depends on
-
SERVER-79150 Reduce ScopedSetShardRole scope to setup stage of index build
- Closed
- is related to
-
SERVER-44722 3 way deadlock can happen between hybrid index build, prepared transactions and stepdown thread on primary that runs index build via coordinator.
- Closed
- related to
-
SERVER-75288 Investigate whether the stepdown killop thread should kill operations that hold the RSTL
- Open
-
SERVER-71198 Assert that unkillable operations that take X collection locks do not hold the RSTL
- Backlog