In order to break the cycle of some potential 3-way deadlocks involving index builds, prepared transactions, and step down, we will investigate not acquiring the RSTL for index build locks that are uninterruptible. This is acceptible because index builds that started running on a secondary, and index build aborts in general, do not need to coordinate with step up and step down because they are a rare type of operation that are not interrupted by step up/down.
- is related to
-
SERVER-44507 Hybrid index build is able to commit (acquire stronger mode locks) for a collection that contains prepared documents. (4.2 only)
- Closed
- related to
-
SERVER-41033 set ignore_prepare=true throughout any part of index building that happens in runWithoutInterruption
- Closed
-
SERVER-42824 do not lock RSTL for index build cleanup
- Closed
-
SERVER-44045 allow secondary index builds to start without unlocking the RSTL
- Closed