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

Register existing databases as part of transitionToShardedCluster

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

      Currently, to convert a replica set to a sharded cluster users are required to invoke addShard which executes listDatabases on the shard being added and registers existing databases in config.databases.

      In the future, users will be able to call transitionToShardedCluster which does not call (yet?) into addShard. Tests calling into transitionToShardedCluster are currently explicitly invoking enabledSharding in order to work around the issue.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: