Skip to content

Commit 4a43313

Browse files
author
Bob Grabar
committed
DOCS-353 added note to current ops page
1 parent 59c901a commit 4a43313

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

source/reference/current-op.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,14 @@ Operations
7979

8080
You can use the :method:`db.killOp()` in conjunction with the
8181
:data:`~currentOp.opid` field to terminate a currently running
82-
operation. Consider the following JavaScript operations for the
83-
:program:`mongo` shell that you can use to filter the output of
84-
identify specific types of operations:
82+
operation.
83+
84+
.. note:: You cannot use :method:`db.killOp()` to kill a foreground
85+
index build.
86+
87+
The following JavaScript operations for the
88+
:program:`mongo` shell filter the output of
89+
specific types of operations:
8590

8691
.. include:: /includes/example-filter-current-op.rst
8792

@@ -97,6 +102,9 @@ depending on the kind of operation and its state.
97102
:method:`db.killOp()` in the :program:`mongo` shell to terminate the
98103
operation.
99104

105+
.. note:: You cannot use :method:`db.killOp()` to kill a foreground
106+
index build.
107+
100108
.. data:: currentOp.active
101109

102110
A boolean value, that is ``true`` if the operation has started

0 commit comments

Comments
 (0)