Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
mongodb-2.6, mongodb-3.0
-
None
Description
The procedure for converting a master/slave deployment to a replica set is missing a step to remove the local database before initiating the replica set: https://docs.mongodb.org/manual/core/master-slave/#convert-a-master-slave-deployment-to-a-replica-set.
This should happen after the backup taken in step 3 but before the current step 4 (which restarts mongod with --replSet).
Since newer versions of the MongoDB server have stronger enforcement for collection name validation, it isn't possible to later drop or rename the legacy master/slave oplog collection (local.oplog.$main) because it includes a reserved character ($).
Attachments
Issue Links
- is related to
-
SERVER-21680 Cannot drop oplog.$main
-
- Closed
-