Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3208

ClusterBuilder.ConfigureWithConnectionString should allow using with SRV

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Configuration
    • None

    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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: