-
Type: Bug
-
Resolution: Works as Designed
-
Priority: 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.
- related to
-
SERVER-94964 Double check why enableSharding is needed in rs_endpoint_upgrade_downgrade.js
- Open