I’m connecting my Meteor app to a 3-member replica set: one primary and two secondaries. I have
w=majority in my
MONGO_URL (following these guidelines).
If the primary goes away, will the app automatically start sending writes to whichever secondary is elected primary? How long might this take? Up to a minute? Could I lose data during the failover?
Can Meteor do anything with secondaries?
MONGO_URL includes all three set members. Does the order of these three hosts matter?
Failover seems unlikely, but I just saw it happen when I used the MongoDB Cloud Manager to upgrade my replica set to 3.0.6.