diff --git a/source/reference/command/killOp.txt b/source/reference/command/killOp.txt index 8a31e87958d..b402be1b407 100644 --- a/source/reference/command/killOp.txt +++ b/source/reference/command/killOp.txt @@ -39,6 +39,14 @@ Definition .. include:: /includes/extracts/warning-terminating-ops-command.rst + +.. versionchanged:: 4.0 + + The ``killOp`` command can be run on a :binary:`~bin.mongos` and can + kill queries that span shards in a cluster. For information on how + to list sharding operations that are active on a mongos, see the + ``localOps`` parameter in :pipeline:`$currentOp`. + Access Control -------------- diff --git a/source/reference/method/db.killOp.txt b/source/reference/method/db.killOp.txt index 436d63318eb..cc89c382671 100644 --- a/source/reference/method/db.killOp.txt +++ b/source/reference/method/db.killOp.txt @@ -27,6 +27,13 @@ Description .. include:: /includes/extracts/warning-terminating-ops-method.rst +.. versionchanged:: 4.0 + + The ``db.killOp()`` method can be run on a :binary:`~bin.mongos` and can + kill queries that are running on more than one shard in a cluster. + For information on how to list sharding operations that are active on + a mongos, see the ``localOps`` parameter in :pipeline:`$currentOp`. + Access Control -------------- diff --git a/source/release-notes/4.0.txt b/source/release-notes/4.0.txt index f6335b2e7ba..e813ea77184 100644 --- a/source/release-notes/4.0.txt +++ b/source/release-notes/4.0.txt @@ -735,6 +735,10 @@ Commands - ``uuids`` field that contains the collections and their corresponding UUIDs. + +- The command :dbcommand:`killOp` now supports termination of queries that are + running on a :binary:`~bin.mongos`. When run on the ``mongos``, :dbcommand:`killOp` + can kill queries that are running in more than one shard. Network Layer Improvements ~~~~~~~~~~~~~~~~~~~~~~~~~~