Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41997

currentOp should show the hierarchy of commands being run when a command internally triggers another command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    Description

      currentOp currently return only the latest (current) operation being run and gives no evidence of the original command triggered by the user.

      For example, if I am running aggregation command with $out. The currentOp could return the command as renameCollection, createCollection or aggreation, based on which operation is being run currently. It doesn't have any 'parent' field which can show the parent operation.

      This means that, if a user wants to see if there are any agg operations. This is no accurate way to find out, since the results of currentOp are misleading.

      Attachments

        1. logs
          15 kB

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: