[SERVER-8551] Exists query with a sparse index should have nscannedObjects = 0 Created: 13/Feb/13 Updated: 15/Feb/13 Resolved: 13/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sridhar Nanjundeswaran | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
2.4.0-rc0 on OS X |
||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Steps To Reproduce: |
testDB = db.getSiblingDB("qa293") ) ) ) ) , {sparse:true, unique:true}) // Test exists query ).hint( {foo:1}).explain() |
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
An exists query on a sparse index field has indexOnly true but nscannedObjects > 0 |
| Comments |
| Comment by Aaron Staple [ 13/Feb/13 ] |
|
Hi Sridhar - Pretty much the same story here as with |