Factor out logic to build a batch using a cursor/PlanExecutor

XMLWordPrintableJSON

    • Query Execution
    • Query 2017-07-31, Query 2017-08-21, Query 2020-08-24
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Charlie Swanson
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: