[SERVER-5104] add support for QueryOptimizerCursor projections in ClientCursor Created: 27/Feb/12  Updated: 10/Dec/14  Resolved: 30/Apr/13

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

Type: Improvement Priority: Major - P3
Reporter: Aaron Staple Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

ClientCursor has a projection implementation that relies on the indexKeyPattern being constant. But with QueryOptimizerCursor (and MultiCursor) the indexKeyPattern may change over the course of iteration. These cursors can return a Projection::KeyOnly for projections but do not support the ClientCursor projection interface currently. Currently modifiedKeys will return true which should prevent a ClientCursor projection from being applied improperly.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 30/Apr/13 ]

this exact code path is going away

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