-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Admin, Diagnostics
-
None
-
Fully Compatible
-
ALL
-
Platform 8 08/28/15, Platform 9 (09/18/15)
Reproduced with git version 0549805e. Sometime recently mongos began requiring a limit of -1 when querying $cmd.sys.inprog:
mongos> db.$cmd.sys.inprog.find() Error: error: { "$err" : "bad numberToReturn (0) for $cmd type ns - can only be 1 or -1", "code" : 16978 }
This is a backwards-compatibility break. mongod of the same version continues to allow any limit, as before.
- is related to
-
SERVER-7775 Make special commands (inprog, killop, unlock) go through the standard command codepath
- Closed
- related to
-
SERVER-19810 mongos requires queries on $cmd.sys.inprog to use "admin" database
- Closed