hold write lock between finishing a batch and updating the oplog

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.7.8
    • Affects Version/s: 2.4.3
    • Component/s: Performance, Replication
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now we drop the write lock between finishing a batch and updating the oplog (and notifying upstream that we've applied ops).
      This allows queued readers to run, and will delay our reporting of our progress upstream. This may in turn needlessly delay write concern getLastError calls on the primary.

            Assignee:
            Unassigned
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: