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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-11-18
    • 17

    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

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: