remove noop oplog entry DB X lock acquisition

XMLWordPrintableJSON

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

      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
              Reporter:
              Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: