Avoid unnecessary pipeline copy when copying aggregate request for resolved view

XMLWordPrintableJSON

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

      As of SERVER-107732, we make a copy of the AggregateCommandRequest so that field values are copied by default, rather than opt-in, when making a copy to run the aggregation on the resolved view namespace/pipeline. However, this means we're also making a copy of the original pipeline, even though we will imminently override it with the resolved pipeline. We should be able to remove this unnecessary pipeline copy.

            Assignee:
            Unassigned
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: