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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2022-03-07, Execution Team 2022-03-21

      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.

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

              Created:
              Updated:
              Resolved: