Skip to content

Commit adfac6d

Browse files
skerschbkay-kim
authored andcommitted
DOCS-11622:sharded kill
1 parent c317da6 commit adfac6d

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

source/reference/command/killOp.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ Definition
3939

4040
.. include:: /includes/extracts/warning-terminating-ops-command.rst
4141

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+
4250
Access Control
4351
--------------
4452

source/reference/method/db.killOp.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ Description
2727

2828
.. include:: /includes/extracts/warning-terminating-ops-method.rst
2929

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+
3037
Access Control
3138
--------------
3239

source/release-notes/4.0.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,10 @@ Commands
735735

736736
- ``uuids`` field that contains the collections and their
737737
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.
738742

739743
Network Layer Improvements
740744
~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)