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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.1
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2017-12-18, Query 2018-01-01

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              charlie.swanson Charlie Swanson
              Reporter:
              charlie.swanson Charlie Swanson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: