Skip to content

Docs 11622 #3353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/reference/command/killOp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------

Expand Down
7 changes: 7 additions & 0 deletions source/reference/method/db.killOp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------

Expand Down
4 changes: 4 additions & 0 deletions source/release-notes/4.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down