Document driver behavior for handling multiple mongoS in the connection string

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Documentation
    • None
    • Environment:
      sharded cluster
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If multiple mongoS are provided, for every connection the driver randomly selects one of those with the lowest ping time: https://github.com/mongodb/mongo-csharp-driver/blob/v1.x/MongoDB.Driver/Communication/Proxies/ShardedMongoServerProxy.cs#L67-L90

      We should document the logic so users will know what to expect.

            Assignee:
            Unassigned
            Reporter:
            Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: