remove RSTL unlocking logic from MultiIndexBlock::cleanUpAfterBuild()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2019-10-07, Execution Team 2019-10-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We started unlocking the RSTL during index build cleanup in commit SERVER-42824 to avoid a deadlock, described in SERVER-42621, during a replica set stepdown. Subsequently, when we moved the collection and database lock acquisition out of the index build cleanup function in SERVER-43415, we also started releasing the RSTL before cleaning up the index build. As a result, this RSTL logic within MultiIndexBlock is now unnecessary.

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: