-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Admin, Diagnostics
-
None
-
Fully Compatible
-
ALL
-
Platform 8 08/28/15
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.
- 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