Open ahazelwood opened 13 years ago
Hi,
have you found any solution as I am facing same issue?
Thanks, Sonal Shah
I never did find a solution, so we waited and will be moving to the mongo driver soon.
-----Original Message----- From: sonalsshah [mailto:reply@reply.github.com] Sent: Thursday, August 25, 2011 8:33 AM To: Andre' Hazelwood Subject: Re: [NoRM] Replica Set Connection String should allow several hosts of the replica set to be specified (#46)
Hi,
have you found any solution as I am facing same issue?
Thanks, Sonal Shah
Reply to this email directly or view it on GitHub: https://github.com/atheken/NoRM/issues/46#issuecomment-1899408
Hi,
I have the same problem. Any progress on this?
Thanks,
/Fredrik
It is entirely possible that more than one host in a ReplicaSet may be down at any point (for maintenance, server crash, etc.). The Connection string should follow the form used in the 10gen driver (http://www.mongodb.org/display/DOCS/CSharp+Driver+Tutorial#CSharpDriverTutorial-Connectionstrings) of allowing multiple hostnames to be specified (separated by commas) which will each be queried until one responds. This allows the first server to be down, but the second one/third one to work.
Thanks.