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

Make it impossible to mark an operation as killed without holding the Client lock

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.8
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2019-01-28

      The comment for ServiceContext::killOperation says that callers must be holding the Client lock before calling it. It would be helpful if the API for killOperation made it impossible to call without holding the Client lock, to avoid subtle programming errors.

            Assignee:
            jonathan.ma@mongodb.com Jonathan Ma
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: