[SERVER-19806] Query on $cmd.sys.inprog requires limit -1 on mongos Created: 06/Aug/15 Updated: 07/Oct/15 Resolved: 18/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Adam Midvidy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Platform 8 08/28/15, Platform 9 (09/18/15) | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Reproduced with git version 0549805e. Sometime recently mongos began requiring a limit of -1 when querying $cmd.sys.inprog:
This is a backwards-compatibility break. mongod of the same version continues to allow any limit, as before. |
| Comments |
| Comment by Githook User [ 18/Sep/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by J Rassi [ 06/Aug/15 ] |
|
Unless an existing driver helper depends on the old behavior, I'd recommend that we resolve this inconsistency by adding the same restriction to $cmd.sys.inprog queries on mongod. |