Audit FilteringMetadataCache::onCollectionPlacementVersionMismatch callers for authoritative shards

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2026-06-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      FilteringMetadataCache::onCollectionPlacementVersionMismatch should only be used as a recovery path in the shard role loop when there has been a version mismatch. However, the codebase abuses it to force a refresh by passing boost::none as the router-received version.

      We need to evaluate every use case and determine whether it will still work under authoritative shards.

      Definition of done: every usage is either justified as-is or has a concrete plan for the authoritative world.

            Assignee:
            Pol Pinol
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: