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

db.currentOp( { "$ownOps": true } ) should work on mongos too

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • 3.2.12
    • None
    • None
    • None
    • Query Execution

    Description

      According to the documentation users can run

      db.currentOp( { "$ownOps": true } )

      on mongod to view their own operations even without the inprog privilege action.

      In order to be consistent, this command should also work for sharded systems and not only for single mongod's. However, it fails when executed on mongos:

      mongos> db.currentOp( { "$ownOps": true } )
      {
      	"ok" : 0,
      	"errmsg" : "not authorized on admin to execute command { currentOp: 1.0, $ownOps: true }",
      	"code" : 13
      }
      mongos>

      Attachments

        Issue Links

          Activity

            People

              backlog-query-execution Backlog - Query Execution
              kay.agahd@idealo.de Kay Agahd
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: