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

Remove DB X lock acquisition for secondary index builds

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0-rc1, 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.2
    • Execution Team 2019-06-03, Execution Team 2019-06-17
    • 0

      The IndexBuildsCoordinator, which builds background indexes on secondaries, still takes a Database X lock, despite changes made on primaries to take a Collection X lock.

      Secondaries should take the same locks as primaries, which could otherwise lead to unexpected deadlocks.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: