-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Querying
-
Labels:
-
Query Execution
-
Query 2017-07-31, Query 2017-08-21, Query 2020-08-24
There are several places in the codebase where we have a PlanExecutor and a CursorResponse (or a bare BSONObjBuilder being used to build a cursor response), and loop over the results of the PlanExecutor until we have enough for a batch. We examine all these places and see if we can factor out some of the similarities into a helper function.
Some examples include: