Pushing $sort stage to query system can leave pipeline in an unstitched state

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.0
    • Query 2018-08-27
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When preparing a plan executor to be used by an aggregation pipeline, there's an optimization here that pushes a $sort stage down to the query system. However, this can result in a pipeline that is not correctly stitched since there may be an additional stage after the sort that is now pointing to free'd memory.

              Assignee:
              Nicholas Zolnierz
              Reporter:
              Nicholas Zolnierz
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: