How can I connect to a Mongo Replica Set when one of the seed hosts is unavailable

31 views
Skip to first unread message

Martin

unread,
Mar 31, 2011, 11:36:45 AM3/31/11
to node-mongodb-native
Does the driver support connecting to a Mongo Replica Set when one (or
more) of the seed hosts is unavailable?

I have a Replica Set configured with 3 Mongo servers, and the examples/
replSetServersQueries.js works fine if all the mongos are running, but
when I stop one of the them, the sample does not connect to the
others.

christkv

unread,
Mar 31, 2011, 11:39:49 AM3/31/11
to node-mongodb-native
This is one part of the driver I would appreciate help to make work
better as I don't have the time or the machines to test a proper
setup. Any pull requests in this space will be welcome :)

Martin

unread,
Apr 1, 2011, 12:30:07 PM4/1/11
to node-mongodb-native
I'll see what I can do.
Reply all
Reply to author
Forward
0 new messages