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

Replace UninterruptibleLockGuard with runWithoutInterruption() in shutdown

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • ALL
    • Repl 2019-03-11
    • 28

    Description

      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.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: