-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.4.10
-
Component/s: Shell
-
Query Execution
-
ALL
-
-
Query 2018-03-26
-
(copied to CRM)
killOperationsOnAllConnections is called in response to CTRL-C in the mongo shell. It finds long-running operations started by this shell and provides the user the option to terminate them. This is accomplished with the currentOp and killOp commands.
For each connection, the shell calls currentOp and examines client or client_s to determine if that command was started by the current shell. When a command is run against a mongod, client contains the IP:PORT of the mongo shell. These commands prompt for termination. If however the command is routed through a mongos, client_s contains the IP:PORT of the mongos, not the mongo shell. These commands do not prompt for termination and are left running on the mongod.
- is duplicated by
-
SERVER-34077 jstests/core/shellkillop.js doesn't do anything
- Closed
- is related to
-
SERVER-1445 jstests/shellkillop.js fails in a sharded setup
- Closed
-
SERVER-23168 Shell killOperationsOnAllConnections doesn't handle currentOp failure
- Closed
-
SERVER-18094 currentOp on a mongoS should also show current mongoS operations
- Closed
-
SERVER-28649 Create a currentRouterOps command in the mongos.
- Closed