-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.3
-
Component/s: Querying
-
None
-
ALL
-
The bug is pretty straight forward to explain an replicate.
Basically if you have a collection with a date attribute and you have a hashed index for that attribute, when o try to make simple find query sorting by that attribute MongoDB just sorts using the hashed index instead of sorting by the date itself.
- duplicates
-
SERVER-13899 "Whole index scan" query solutions can use incompatible indexes, return incorrect results
- Closed