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

Instructions on Active Indexing Operations does not work

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • # Replies:
      3
    • Last comment by Customer:
      true

      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

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              roy.rim Roy Rim
              Participants:
              Last commenter:
              Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                3 years, 9 weeks, 1 day ago
                Date of 1st Reply: