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

WiredTigerRecordStore::reclaimOplog can block for extended periods of time

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • 3.4.3, 3.6.3
    • None
    • Replication, Storage
    • None
    • ALL
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: