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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-11-18
    • 17

      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

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

              Created:
              Updated:
              Resolved: