Support ResultReader interface in getMore command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • QO 2025-02-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      To validate the proposed ResultReader interface, let's update the getMore command to use this interface when building the response batch.

      • In the getMore command, after retrieving the PlanExecutor from the ClientCursor, wrap the PlanExecutor in a ResultReader.
      • Change the batch-filling loop to use the advance() / current() / done() interface.
      • Before returning to the client, make sure the PlanExecutor is still associated with the ClientCursor.
      • It may be simpler for ResultReader to hold a non-owning pointer to the PlanExecutor, rather than transferring ownership into it and back out.
      • Run a correctness patch build
      • Run a performance patch build

            Assignee:
            Unassigned
            Reporter:
            David Percy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: