Remove extra serialization calls in sharded subpipeline execution

XMLWordPrintableJSON

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

      SERVER-120930 adds extra serialization calls in order to validate collection metadata against LiteParsedPipeline in sharded_agg_helpers. We should figure out a way to avoid this overhead, possibly creating plumbing to check whether `optimizePipeline` did anything to the Pipeline which would tell us whether we need to re-serialize the pipeline or we can reuse the already serialized BSON.

            Assignee:
            Unassigned
            Reporter:
            Mariano Shaar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: