-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Component/s: Performance, Retryability, Server Selection
-
None
-
Needed - No Spec Changes
-
Summary
Prose tests introduced by DRIVERS-1571 may not execute relevant code paths due to (1) SDAM error handling behavior preceeding suitable server deprioritization and (2) Driver-specific SDAM behavior preventing deduction of a single-mongos connection as a Sharded topology.
Drivers that have already implemented DRIVERS-1571 should update their prose tests accordingly to the new prose test specification; Drivers that have not yet implemented DRIVERS-1571 should implement the prose tests according to the updated specification. Drivers are encouraged to confirm that the updated prose tests correctly execute the code paths related to server deprioritization using debuggers, code coverage tools, etc.
Motivation
Who is the affected end user?
Drivers implementing DRIVERS-1571.
How does this affect the end user?
Prose tests intended to test mongos redirection may not execute related code paths, potentially leading to false-positive test results for incorrect implementation of server deprioritization.
How likely is it that this problem or use case will occur?
Testing only.
If the problem does occur, what are the consequences and how severe are they?
Potential false-positive test results may allow incorrect server deprioritization implementations to slip into Drivers releases and fail to satisfy the requirements of customer requests in DRIVERS-1571.
Is this issue urgent?
No.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes (but may lead to changes to Drivers implementations if removal of potential false-positives uncovers proper test failures).
Acceptance Criteria
N/A
- is related to
-
DRIVERS-1571 Direct read/write retries to another mongos if possible
- Development Complete
- split to
-
CSHARP-4958 Update prose tests for mongos deprioritization during retryable ops
- Backlog
-
GODRIVER-3121 Update prose tests for mongos deprioritization during retryable ops
- Backlog
-
NODE-5905 Update prose tests for mongos deprioritization during retryable ops
- Backlog
-
PHPC-2361 Update prose tests for mongos deprioritization during retryable ops
- Backlog
-
PYTHON-4203 Update prose tests for mongos deprioritization during retryable ops
- Backlog
-
RUST-1842 Update prose tests for mongos deprioritization during retryable ops
- Backlog
-
CDRIVER-4827 Update prose tests for mongos deprioritization during retryable ops
- Closed
-
CXX-2824 Update prose tests for mongos deprioritization during retryable ops
- Closed
-
JAVA-5320 Update prose tests for mongos deprioritization during retryable ops
- Closed
-
MOTOR-1252 Update prose tests for mongos deprioritization during retryable ops
- Closed
-
RUBY-3391 Update prose tests for mongos deprioritization during retryable ops
- Closed