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

Create the killOperations command

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2019-12-02, Service Arch 2019-12-16, Service Arch 2019-12-30, Service Arch 2020-01-13

      This command will accept a request of the following form:

      killOperations: {
        “operationKeys” : [UUID(myUuidStr)]
      }
      

      and return a response like so:

      {
        "info" : "Attempting to kill operation using key <myUuidStr>",
        "ok" : 1
      }
      

      This command requires the "__system" role or "enableTestCommands: 1" and the "killop" privilege action in either case. It should be available on both mongos and mongod for testing use, but only for mongos->mongod communication in production environments.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: