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

Replace UninterruptibleLockGuard with runWithoutInterruption() in shutdown

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

      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@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: