-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
ebd449e59e6 under SERVER-17575 introduced a method PlanExecutor::enqueue(). If a client to the query system retrieves a result but then is unable to consume it, you can push the result document back onto the PlanExecutor's stream using enqueue().
The aggregation command currently has its own implementation for this inside the PipelineProxyStage. Since there is now a general mechanism, aggregation should move to using PlanExecutor::enqueue(). This will become easier after SERVER-17839 is implemented.
- depends on
-
SERVER-17839 Remove PlanStage::isEOF
- Backlog
- duplicates
-
SERVER-16444 Avoid copying data out of WT buffers during tables scans
- Closed
- is related to
-
SERVER-17575 Handle BSONObj size limits for find/getMore commands
- Closed