Get rid of the AggregationTargeter::TargetingPolicy::kPassthrough and the entire “passthrough” code path in agg

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QE 2023-08-21, QE 2023-09-04, QE 2023-09-18
    • 165
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This code path should be unnecessary if the kAnyShard code path can handle all the cases with unsharded collections and route accordingly.

      • Eliminate LiteParsedPipeline::allowedToPassthroughFromMongos() and LiteParsedDocumentSource::allowedToPassthroughFromMongos()
      • Delete runPipelineOnPrimaryShard()

              Assignee:
              Mihai Andrei
              Reporter:
              David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: