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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: