Details
-
Task
-
Resolution: Done
-
Critical - P2
-
None
Description
Currently we have the document to convert a replica set to a sharded cluster as below:
However, it doesn't cover the scenario when the replica set has authentication enabled.
For a sharded cluster, the user credentials are stored in the admin database on the config servers, so if auth is enabled, there would be some extra steps to dump the user credentials from the original replica set, and then restore them to the config servers via mongos.