MongoDB -what's the safest and most efficient way to change from Master-Slave to ReplicaSet?
- by SecondThought
I now have two mongo servers with a Master-Slave configuration (all read-writes are done with the Master, the Slave is just a cold backup) serving a pretty demanding web app.
I want to switch to ReplicaSet of 3 servers - I have these 3 already configured and working (still not connected to the web app).
Just wondering what's the most efficient way (shortest down-time required, and lossless transfer of all data) to transfer all the data from the master/slave to the RS.