-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Query 2019-07-29
In SERVER-39567 we changed min()/max() to require a hint(), but kay.kim discovered that this is not enforced when IDHACK is used.
I don't think there's an incorrect results bug here (similar to the linked ticket) but this is undesirable.
Repro:
db.c.find({_id: 5}).max({_id: 1}).explain()
- is related to
-
SERVER-12916 Equality queries on _id don't obey min()/max()
- Closed