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

Don't set server type to Unknown on socket timeout

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.0
    • Connectivity
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: