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

db.currentOp() doesn't show which user ran the query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Querying
    • None
    • Query
    • ALL
    • Hide
      1. Run any mongo query that will run for more than a few seconds.
      2. Run db.currentOp({})

      Notice that the output doesn't include which account ran the query.

      Show
      Run any mongo query that will run for more than a few seconds. Run db.currentOp({}) Notice that the output doesn't include which account ran the query.

    Description

      In MongoDB 3.4, the command db.currentOp() doesn't show which mongo user is running the query. This information is critical to being able to call db.killOp() from the original account to kill a query - provided we don't have access to a superadmin account that can kill any query, such is the case of Mongo Atlas customers.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-query Backlog - Query Team (Inactive)
              brad@mixmax.com Brad Vogel
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: