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

Don't set server type to Unknown on socket timeout

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.0
    • Component/s: Connectivity
    • Labels:
      None

      A socket timeout is probably due to a long running operation on the server, and does not necessarily indicate that the server state has changed, and therefore the driver should NOT set the server type to Unknown.

      See the SDAM spec for details:

      https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#network-error-when-reading-or-writing

            Assignee:
            Unassigned Unassigned
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: