atheken / NoRM

NoRM is a MongoDB driver for .Net designed to provide access to strongly/statically-typed documents and collections.
BSD 3-Clause "New" or "Revised" License
398 stars 82 forks source link

Replica Set Connection String should allow several hosts of the replica set to be specified #46

Open ahazelwood opened 13 years ago

ahazelwood commented 13 years ago

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.

sonalsshah commented 13 years ago

Hi,

have you found any solution as I am facing same issue?

Thanks, Sonal Shah

ahazelwood commented 13 years ago

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

Sewen commented 12 years ago

Hi,

I have the same problem. Any progress on this?

Thanks,

/Fredrik