Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
None
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.