[SERVER-3965] $maxScan only works for initial query Created: 27/Sep/11 Updated: 05/May/14 Resolved: 22/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 1.8.3, 2.0.0, 2.4.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Barrie Segal | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
This came from http://groups.google.com/group/mongodb-user/browse_thread/thread/d8940067b89cb839 $maxScan does not return expected results when it is >100 To reproduce: );} 50000 > count = 0; db.mxscan.find()._addSpecial( "$maxScan" , 100 ).forEach( function ); print(count); |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 22/Jan/14 ] | |||||||||
|
This has gone away with the current version (2.5.x dev) of the query code. With the new query system this is no longer an issue:
|