Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Service Arch 2019-12-02, Service Arch 2019-12-16, Service Arch 2019-12-30, Service Arch 2020-01-13
Description
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.
Attachments
Issue Links
- depends on
-
SERVER-44167 Add OperationKey to OperationContext and allow "clientOperationKey" field with commands
-
- Closed
-
- is related to
-
SERVER-20518 Ability to view / kill connections
-
- Closed
-