[CSHARP-3208] ClusterBuilder.ConfigureWithConnectionString should allow using with SRV Created: 08/Sep/20 Updated: 14/Sep/20 Resolved: 14/Sep/20 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Configuration |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dmitry Lukyanov (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
It looks like this method https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver.Core/Core/Configuration/ClusterBuilderExtensions.cs#L56 doesn't support working with SRV. When I used connection string for my atlas cluster, the below levels for example MultiServerCluster didn't have the correct ClusterSettings._scheme value (it was just MongoDb) |