Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30215

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

    • 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:

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: