[SERVER-12916] Equality queries on _id don't obey min()/max() Created: 26/Feb/14  Updated: 22/Jul/19  Resolved: 22/Jul/19

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 2.4.9, 2.6.0-rc0
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: Mikhail Ivkov (Inactive)
Resolution: Done Votes: 0
Labels: 26qa, neweng, query-44-grooming
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-42073 Server does not require hint() for mi... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2019-07-29
Participants:

 Description   

> db.foo.find({_id:1}).max({_id:0})
{ "_id" : 1 }
>



 Comments   
Comment by Githook User [ 22/Jul/19 ]

Author:

{'name': 'Misha Ivkov', 'username': 'mivkov', 'email': 'misha.ivkov@10gen.com'}

Message: SERVER-12916 ensure find on _id field obeys min/max.
Branch: master
https://github.com/mongodb/mongo/commit/9efa2b1d4d2fd59f7480d3a8d6d3f8b6c1591732

Comment by David Storch [ 05/Jul/19 ]

Flagging for re-triage. We should consider scheduling a fix.

Generated at Thu Feb 08 03:30:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.