-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Connection Mgmt, SDAM
-
None
The SDAM spec says that a network timeout error that occurs before the connection handshake completes MUST reset the server to Unknown. MongoClient does not follow this rule:
If there is a network error or timeout on the connection before the handshake completes, the client MUST replace the server's description with a default ServerDescription of type Unknown, and fill the ServerDescription's error field with useful information.
- duplicates
-
PYTHON-1438 Change handling of network errors or timeouts during connection handshake
- Closed
- related to
-
PYTHON-2199 Reduce race conditions in SDAM error handling
- Closed