Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Gone away
-
None
-
None
-
Query 2019-07-29
Description
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()
|
Attachments
Issue Links
- is related to
-
SERVER-12916 Equality queries on _id don't obey min()/max()
-
- Closed
-