Adapt the existing aggregations for retrieving historical namespace placement to the semantics of change stream readers V2.

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-07-21, CAR Team 2025-08-04
    • None
    • 3
    • TBD
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-68929 introduced a ShardingCatalogClient internal method to retrieve  namespace placement information at an arbitrary point in time.

      With the introduction of V2 change stream readers, the following changes of semantics have to be applied:

      • the method should not accept queries referencing timestamps than are greater than the current config time (already implemented through SERVER-107490)
      • (for queries concerning tracked collections), the result should not include the primary shard when this does not bear any user data
      • the absence of a config.plcacmentHistory initialization doc matching the requested atClusterTime should trigger a NotAvailable response.

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

                Created:
                Updated:
                Resolved: