OplogTruncaterThread can self-deadlock

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2019-06-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The OplogTruncaterThread acquires a global IX lock here. This calls WiredTigerRecordStore::reclaimOplog(), which calls WiredTigerKVEngine::getPinnedOplog(), which calls WiredTigerKVEngine::getOplogNeededForRollback(), which calls TransactionParticipant::getOldestActiveTimestamp(), which acquires a global IS lock in a different locker here. This can self-deadlock if there is a pending strong lock acquisition.

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: