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

Stop using getKillStatus to check for OperationContext interruption.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.2.0-rc0
    • None
    • None
    • Minor Change
    • ALL
    • Service Arch 2022-10-03, Service Arch 2022-10-17

    Description

      `getKillStatus` captures a subset of the situations under which an OperationContext may be interrupted. It should almost never be used outside of the SA code base.

      We provided incorrect guidance for tasks logged under SERVER-56251, and those should be addressed ASAP.

      Additionally, a quick look should be done in other places to ensure `getKillStatus` is not being used inappropriately.

      This is being done in lieu of SERVER-69496, to avoid changing internal implementation details of OperationContext `kill`.

      Attachments

        Issue Links

          Activity

            People

              matt.diener@mongodb.com Matt Diener (Inactive)
              matt.diener@mongodb.com Matt Diener (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: