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

Instructions on Active Indexing Operations does not work

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 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

        Activity

          People

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

            Dates

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