Replace UninterruptibleLockGuard with runWithoutInterruption() in shutdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2019-03-11
    • 28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      UninterruptibleLockGuard only suppresses the interruptions in lock acquisition. We should use opCtx->runWithoutInterruption() instead in case checkForInterrupt() is called elsewhere. opCtx->waitForConditionOrInterrupt() in checkOutSessionForKill is an example.

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: