Ensure that the initialization metadata of config.placementHistory get created as part of the first addShard commit

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-10-13
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      The targeting logic of V2 change stream readers in sharded clusters is driven by the content of config.placementHistoryCollection, a persisted log-like, capped data structure describing the evolution of the data distribution of existing and past namespaces over time.

      To ensure proper operability, config.placementHistory must also persist some initialization metadata specifying:

      • the oldest PIT for which a complete and consistent representation of namespace placements across the cluster is available
      • a fallback response for supporting targeting requests that predates such a PIT

      These metadata has to be first established upon the addition of the first shard to the cluster.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: