-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.5.4
-
Component/s: Index Maintenance, Querying
-
Fully Compatible
-
ALL
Triage update:
Under 2.4.8, the planner generates a single indexed solution when a hint is provided.
Under 2.5.4, a collection scan is generated in addition to the indexed solution. It's possible for the collection scan to be ranked higher than the indexed solution, resulting in the hinted solution being ignored.
------
mongo --shell test.js > use dummy switched to db dummy > doit() BasicCursor
Expected to see "BtreeCursor ace.val_1 multi" output.
- related to
-
SERVER-6293 Index only query fills in missing values with null
- Closed