Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44544

IndexBuildsCoordinator::_buildIndexTwoPhase() crashes after collection scan is interrupted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Storage
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: