Make LiteParsedPipeline sub-pipelines own their original BSON

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $unionWith/$lookup/etc create their sub-pipeline's LiteParsedPipeline from temporary BSON. LiteParsedPipeline defaults to unowned BSON, which causes problems when the temporary BSON goes out of scope. We should make sure that the sub-pipeline LiteParsedPipeline owns its BSON on construction.

            Assignee:
            Alyssa Clark
            Reporter:
            Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: