File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,14 @@ Definition
39
39
40
40
.. include:: /includes/extracts/warning-terminating-ops-command.rst
41
41
42
+
43
+ .. versionchanged:: 4.0
44
+
45
+ The ``killOp`` command can be run on a :binary:`~bin.mongos` and can
46
+ kill queries that span shards in a cluster. For information on how
47
+ to list sharding operationsthat are active on a mongos, see the
48
+ ``localOps`` parameter in :pipeline:`$currentOp`.
49
+
42
50
Access Control
43
51
--------------
44
52
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ Description
27
27
28
28
.. include:: /includes/extracts/warning-terminating-ops-method.rst
29
29
30
+ .. versionchanged:: 4.0
31
+
32
+ The ``db.killOp()`` method can be run on a :binary:`~bin.mongos` and can
33
+ kill queries that are running on more than one shard in a cluster.
34
+ For information on how to list sharding operationsthat are active on
35
+ a mongos, see the ``localOps`` parameter in :pipeline:`$currentOp`.
36
+
30
37
Access Control
31
38
--------------
32
39
Original file line number Diff line number Diff line change @@ -735,6 +735,10 @@ Commands
735
735
736
736
- ``uuids`` field that contains the collections and their
737
737
corresponding UUIDs.
738
+
739
+ - The command :dbcommand:`killOp` now supports termination of queries that are
740
+ running on a :binary:`~bin.mongos`. When run on the ``mongos``, :dbcommand:`killOp`
741
+ can kill queries that are running in more than one shard.
738
742
739
743
Network Layer Improvements
740
744
~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments