findAndModify should not take exclusive locks

XMLWordPrintableJSON

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

      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
              Reporter:
              Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: