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

Unify shard targeting behavior across DocumentSource::distributedPlanLogic() and DocumentSource::constraints()

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2024-03-04, QE 2024-03-18, QE 2024-04-01
    • 20

      Consider the $lookup overload of distributedPlanLogic and constraints. Both methods provide information around shard targeting: while the former determines whether the current stage should be sent to the shards or act as a merger, the latter determines whether we need a merging shard (if any). This ticket tracks the work to refactor this code such that these two parts of shard targeting behavior are not split across two methods.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: