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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.8
    • Internal Code
    • None
    • Fully Compatible
    • Service Arch 2019-01-28

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: