[EF-89] Cannot use connection strings with multiple mongos instances Created: 20/Dec/23 Updated: 03/Jan/24 Resolved: 03/Jan/24 |
|
| Status: | Closed |
| Project: | Entity Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Scott Newton | Assignee: | Damien Guard |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
{{I'm using a sharded database, with multiple mongos instances. I would like to list them all in my connection string, such as "mongodb://server1:27107,server2:27017,server3:27017". }} This connection string works just fine with several other clients, but the EF Framework driver gives me a parsing error. |
| Comments |
| Comment by Damien Guard [ 03/Jan/24 ] |
|
Hi Scott. Fix is now checked in and will go out with the next preview release which will be in a while. Hopefully the workaround will see you through in the mean time. Damien |
| Comment by Damien Guard [ 03/Jan/24 ] |
|
My response (over email) was:
|
| Comment by Damien Guard [ 03/Jan/24 ] |
|
Customer was unable to respond here (hopefully now fixed) so quoting their response here for reference:
|
| Comment by Damien Guard [ 02/Jan/24 ] |
|
Hi Scott. I tried to reproduce this using the following and I'm not getting a parsing error. var client = new MongoClient("mongodb://server1:27107,server2:27017,server3:27017"); Can you provide a specific code sample/reproduction showing how you get the error? Thanks, Damien
|