Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16679

Investigate changes in SERVER-79583: Get rid of HostTypeRequirement::kPrimaryShard once and for all

    • 2

      Original Downstream Change Summary

      The aggregation system will no longer rely on the notion of primary shard for shard targeting. This includes, but is not limited to, specifying the primary shard as a merger for sharded aggregates. As such, the documentation should be updated to account for this (one such example: https://www.mongodb.com/docs/manual/core/sharded-cluster-query-router/#routing-and-results-process)

      Description of Linked Ticket

      • Adapt $facet’s constraints() logic to no longer depend on kPrimaryShard.
      • Also delete DispatchShardPipelineResults::needsPrimaryShardMerge.

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              8 weeks, 5 days ago