Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-100403

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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL

      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:
            Unassigned Unassigned
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: