Tag Info

Hot answers tagged


You shouldn't specify w: 2 in your query. You're asking to write to two nodes. See the docs here about write concern


Ok, while the question(s) is(are) rather complex, the answer(s) is(are) pretty simple, albeit a bit lengthy. The replication (simplified) When an operation is saved in the oplog, it does not get distributed to the other members. It gets pulled by the replica set members. A failed member rejoining the replica set will contact the primary and pull the oplog ...

Only top voted, non community-wiki answers of a minimum length are eligible