Make a MongoProcessInterface available to all stages, not just those that subclass DocumentSourceNeedsMongoProcessInterface

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Query 2017-12-18, Query 2018-01-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This would be a pure refactor without any functional changes, but will make it easier to do both SERVER-32088 and SERVER-29159. An initial attempt at resolving SERVER-32088 involved determining whether a collection was sharded at parse time, so we needed to use the MongoProcessInterface before execution time. This work should make that possible. Similarly, a proof-of-concept for SERVER-29159 needed to check if a namespace was sharded during the DocumentSourceLookUp::constraints() method, which similarly depends on this work.

              Assignee:
              Charlie Swanson
              Reporter:
              Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: