Details
-
Task
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
Description
Recently when attempting to kill an index operation with a customer we could not get the instructions here to work:
https://docs.mongodb.com/manual/reference/method/db.currentOp/#active-indexing-operations
The instructions say to run the following command to get active index operations:
db.currentOp(
|
{
|
$or: [
|
{ op: "query", "query.createIndexes": { $exists: true } },
|
{ op: "insert", ns: /\.system\.indexes\b/ }
|
]
|
}
|
)
|
I had to change the op: "query" to op: "command" to get this to work. I am unsure about the second part of the $or and if that part still works.
Attachments
Issue Links
- duplicates
-
DOCS-10053 currentOp example for finding index ops needs 3.4 update
-
- Closed
-