[CSHARP-337] C# Driver connection MongoDB error Help Created: 10/Oct/11 Updated: 02/Apr/15 Resolved: 13/Oct/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.2 |
| Fix Version/s: | 1.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | kuku | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
1master+2(slave)+2(arbiter) mongodb://server1,server2,server3/?connect=direct;maxPoolSize=1000;connecttimeoutms=2000 C# Driver connection MongoDB error Help |
| Comments |
| Comment by Robert Stam [ 12/Oct/11 ] |
|
Please use JIRA for bug reports, not for questions on how to use the driver. You also asked this question on Google Groups: Let's continue the discussion there. |
| Comment by Robert Stam [ 10/Oct/11 ] |
|
What error are you getting? You want connect=replicaset instead of connect=direct. You can also just leave off the connect=replicaset, since it is the default when more than one host name is provided on the connection string. Also, 1000 is a rather large size for the connection pool. Are you sure you want it to be that large? |
| Comment by kuku [ 10/Oct/11 ] |
|
For help |