Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32190

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

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

      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@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: