[SERVER-4980] covered index projection will be improperly applied when transitioning to a new $or clause in get more Created: 15/Feb/12  Updated: 11/Jul/16  Resolved: 22/Apr/12

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

The MultiCursor will change the reported indexKeyPattern when the $or clause changes, but this isn't detected by the projection implementation.

A test demonstrating this issue will be pushed.



 Comments   
Comment by auto [ 20/Apr/12 ]

Author:

{u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}

Message: SERVER-4980 Add Cursor::keyFieldsOnly() and use it to implement projection in processGetMore via ClientCursor::fillQueryResultFromObject().
Branch: master
https://github.com/mongodb/mongo/commit/4a17a039e05076364049d3903da4c6cb5b562c69

Comment by auto [ 15/Feb/12 ]

Author:

{u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}

Message: SERVER-4980 test projection with or clauses in get more
Branch: master
https://github.com/mongodb/mongo/commit/f2f0dc6183cf33765a675b5192328c255490bce3

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