When the collection scan phase is interrupted after releasing its locks, the exception handing in _buildIndexTwoPhase() should re-throw the exception rather than proceed to check the current replication state. We need the RSTL, which is one of the locks released, in order to check the replication state. This may lead to the server crashing on the Locker::isRSTLLocked() invariant
- is depended on by
-
SERVER-43692 enable two phase index builds by default
- Closed
- is related to
-
SERVER-44393 indexu.js fails in replica_set_passthrough when two phase index builds are enabled
- Closed
-
SERVER-38478 Remove UninterruptibleLockGuard in query yield
- Closed