Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8883

Instructions on Active Indexing Operations does not work

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            roy.rim@mongodb.com Roy Rim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 41 weeks ago