Operational Defect Database

BugZero found this defect 61 days ago.

MongoDB | 2613579

Register existing databases as part of transitionToShardedCluster

Last update date:

3/19/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

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.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Open

Learn More

Search:

...