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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: