Register existing databases as part of transitionToShardedCluster

XMLWordPrintableJSON

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

      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
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: