Adding a replica set to a sharded cluster does not register existing databases in the shard-local catalog

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2025-02-17, CAR Team 2025-03-03, CAR Team 2025-03-17, CAR Team 2025-08-04, CAR Team 2025-08-18
    • None
    • 3
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, when we add a replica set to a sharded cluster using the addShard command, and that replica set contains data, we manually register the collection in the global catalog by writing to config.databases.

      In the context of SPM-3729, this process bypasses registration in the shard-local catalog, which makes the shards not being authoritative for databases.

              Assignee:
              Laura Mestres Torres
              Reporter:
              Pol Pinol
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: