Oops Replication - MongoDB Secondary Node Data Loss
I have two mongod instances without replication each having same collection name but different data.Now initialized replication between them.Secondary machine copies all data from primary machine and looses it’s original data.Can I recover original data present in secondary machine ?
Leaving aside the typos in the question (and any resentments they might generate), would you consider this the expected behavior? To me this sounds like a conflict in the setup and the database should error.
Original title and link: Oops Replication - MongoDB Secondary Node Data Loss (©myNoSQL)