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

Determine if we can avoid global lock upgrade in IndexBuildsCoordinatorMongod::setCommitQuorum

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc0
    • None
    • Fully Compatible
    • Execution Team 2022-03-07, Execution Team 2022-03-21

    Description

      Currently we take the global lock in IS mode due to an AutoGetCollectionForRead, but later upgrade to IX while persisting the change. We would like to avoid this, as upgrading the global lock may lead to deadlocks. It may be safe to simply take the global IX lock prior to the AutoGetCollectionForRead.

      Attachments

        Issue Links

          Activity

            People

              fausto.leyva@mongodb.com Fausto Leyva
              dan.larkin-york@mongodb.com Dan Larkin-York
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: