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

lockComplete can incorrectly skip checking if the operation context was killed, if the lock is granted quickly

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Storage NYC 2018-12-17

    Description

      When waiting for the request to be granted when calling lockComplete, the predicate could initially return true when we call waitForConditionOrInterrupt. This would mean that we never check if the operation context was killed, and so the operation continues even if it had been killed. This can happen if the lock request was granted very quickly after lockComplete is called.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: