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

WT yieldAndAwaitOplogDeletionRequest holds onto an OperationContext while blocking for an infrequent trigger

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Sprint:
      Storage 2017-11-13

      Description

      For WiredTiger, a background thread manages the size of the oplog, truncating it when necessary. However the piece that waits to truncate the oplog is holding onto a borrowed OperationContext. Waiting for a truncation point can be arbitrarily long, particularly when there are few writes coming into the system, or when the oplog has yet to start "rolling over".

      https://github.com/mongodb/mongo/blob/24554590b43f57076035dd59629d4a4362929697/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp#L1056-L1057

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              donald.anderson Donald Anderson
              Reporter:
              daniel.gottlieb Daniel Gottlieb
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: