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

remove RSTL unlocking logic from MultiIndexBlock::cleanUpAfterBuild()

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: