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

Remove cappedInFlight locks

    • Storage Execution

      We currently use locks on resourceCappedInFlightForOtherDb and resourceCappedInFlightForLocalDb to ensure that snapshots see a consistent point in time. Now that we single-thread all writes to non-oplog capped collections, this is probably unnecessary overhead. It is likely better (and still correct) to just lock the oplog in MODE_S while taking the snapshot. Part of this work will be to verify that this is the case.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: