[CSHARP-2262] Don't set server type to Unknown on socket timeout Created: 03/May/18  Updated: 20/Jul/20  Resolved: 20/Jul/20

Status: Closed
Project: C# Driver
Component/s: Connectivity
Affects Version/s: 2.6.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Robert Stam Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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



 Comments   
Comment by Jeffrey Yemin [ 20/Jul/20 ]

rstam this should have been fixed as part of CSHARP-3057, so I'm going to close this. Let me know if I'm incorrect, and we can re-open

Generated at Wed Feb 07 21:42:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.