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

WiredTigerRecordStore::reclaimOplog can block for extended periods of time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 3.4.3, 3.6.3
    • Fix Version/s: None
    • Component/s: Replication, Storage
    • Labels:
      None
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2019-09-09

      Description

      In the case where we're truncating a very large amount of oplog entries, WiredTigerRecordStore::reclaimOplog may hold its locks (Global IX since 3.6, DB/Collection IX for the oplog in 3.4) for an extended period of time, blocking operations such as stepdown which may require a global X lock.

      One potential solution to this problem is for reclaimOplog to yield all locks periodically.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Storage Execution Team
              Reporter:
              matthew.russotto Matthew Russotto
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: