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

findAndModify should not take exclusive locks

    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Execution Team 2020-03-23, Execution Team 2020-04-06

      findAndModify takes exclusive database locks for upserts. It should not need to do this as of the finer-grained locks work, nor should it need to take an exclusive collection lock as of SERVER-43859 to create the collection.

      Any exclusive db/collection lock acquisitions in findAndModify should be changed to intent exclusive acquisitions.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: