File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,14 @@ Operations
79
79
80
80
You can use the :method:`db.killOp()` in conjunction with the
81
81
: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:
85
90
86
91
.. include:: /includes/example-filter-current-op.rst
87
92
@@ -97,6 +102,9 @@ depending on the kind of operation and its state.
97
102
:method:`db.killOp()` in the :program:`mongo` shell to terminate the
98
103
operation.
99
104
105
+ .. note:: You cannot use :method:`db.killOp()` to kill a foreground
106
+ index build.
107
+
100
108
.. data:: currentOp.active
101
109
102
110
A boolean value, that is ``true`` if the operation has started
You can’t perform that action at this time.
0 commit comments