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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      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.

        1. logs
          15 kB
          Arun Banala

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: