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

remove noop oplog entry DB X lock acquisition

    • Fully Compatible
    • ALL
    • Repl 2019-05-20
    • 13

      This lock seems unnecessary (and causes deadlocks), and at least should be acquired at a lower level if it's needed.

      I think this is here from when noop and index build oplog entry application were together and index builds needed this lock (https://github.com/mongodb/mongo/commit/188fcbc3bf1ad7ff7f8114c33412fd9e27295c79). When those two code paths were separated noops inherited this lock as well to be safe.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: