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

Stop using getKillStatus to check for OperationContext interruption.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • ALL
    • Service Arch 2022-10-03, Service Arch 2022-10-17

      `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`.

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

              Created:
              Updated:
              Resolved: