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

Use PlanExecutor::enqueue() in favor of PipelineProxyStage::pushBack()

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: