Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Platform 8 08/28/15
Description
Reproduced with git version 0549805e. Sometime recently mongos began requiring queries on $cmd.sys.inprog to use "admin":
mongos> use test
|
switched to db test
|
mongos> db.$cmd.sys.inprog.find().limit(-1)
|
{ "ok" : 0, "errmsg" : "currentOp may only be run against the admin database.", "code" : 13 }
|
This is a backwards-compatibility break. mongod of the same version continues to allow any DB, as before.
Attachments
Issue Links
- is related to
-
SERVER-19806 Query on $cmd.sys.inprog requires limit -1 on mongos
-
- Closed
-
-
SERVER-7775 Make special commands (inprog, killop, unlock) go through the standard command codepath
-
- Closed
-