-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: Server Selection
-
None
-
Needed
-
Summary
Drivers that do not already include the topology description in server selection timeout error messages should do so. Some drivers do this already, e.g. Python (see PYTHON-2136) and Ruby, and have found it useful.
Motivation
Who is the affected end user?
Users who are encountering server selection timeout errors.
How does this affect the end user?
Currently it can be hard for them or us to tell what the driver's view of their topology is, making it hard to diagnose why server selection is failing.
How likely is it that this problem or use case will occur?
This is likely to impact anyone who is encountering server selection timeout errors, which are fairly common. Users often encounter these while trying to connect to a new cluster, write a new application, when their cluster gets in an unhealthy state, etc.
If the problem does occur, what are the consequences and how severe are they?
The user has difficulty debugging and fixing the problem.
Is this issue urgent?
No.
Is this ticket required by a downstream team?
No, but it would help users of downstream tools like mongosh if the Node driver doesn't include this information already.
Is this ticket only for tests?
No, functional changes are needed.
- related to
-
GODRIVER-559 Improve server selection error messages for connection and context errors
- Closed
-
GODRIVER-733 Add diagnostic information to server selection errors
- Closed
-
RUST-268 Improve server selection error messages
- Closed
- split to
-
CDRIVER-4614 Drivers should include topology description in server selection timeout errors
- Closed
-
CSHARP-4613 Drivers should include topology description in server selection timeout errors
- Closed
-
CXX-2675 Drivers should include topology description in server selection timeout errors
- Closed
-
GODRIVER-2809 Drivers should include topology description in server selection timeout errors
- Closed
-
JAVA-4935 Drivers should include topology description in server selection timeout errors
- Closed
-
MOTOR-1119 Drivers should include topology description in server selection timeout errors
- Closed
-
NODE-5196 Drivers should include topology description in server selection timeout errors
- Closed
-
PHPC-2254 Include topology description in server selection timeout errors
- Closed
-
PYTHON-2136 Provide diagnostic information in ServerSelectionTimeoutError exception message
- Closed
-
PYTHON-3667 Drivers should include topology description in server selection timeout errors
- Closed
-
RUBY-3240 Drivers should include topology description in server selection timeout errors
- Closed
-
RUST-268 Improve server selection error messages
- Closed
-
RUST-1630 Drivers should include topology description in server selection timeout errors
- Closed