-
Type:
Spec Change
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: Retryable Reads & Writes
-
None
-
Needed
-
Summary
When retryable writes raise an exception and return error code 20, the Node Driver drops the error details and outputs an unrelated error message. More data in NODE-7827.
This was missed for 4 years, partially because this aspect of the specifications does not have associated tests. This task is to add unified tests that would have caught this rewrite issue in the Node Driver.
Motivation
Who is the affected end user?
Every user who makes retryable calls and encounters exceptions.
How does this affect the end user?
Before, the error message being thrown by the Driver was wrong. After, the message will match what the Server sent.
How likely is it that this problem or use case will occur?
Error message improvement.
If the problem does occur, what are the consequences and how severe are they?
Wrong message in the exception. Node Driver has had this for 4 years, and we just got notified, so this is low severity.
Is this issue urgent?
No. Node Driver has had this issue for 4 years, we just got notified about it.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
Acceptance Criteria
Add tests to verify code-20 passthrough.
- split to
-
CDRIVER-6477 Add unified tests for code-20 passthrough
-
- Blocked
-
-
CSHARP-6238 Add unified tests for code-20 passthrough
-
- Blocked
-
-
CXX-3588 Add unified tests for code-20 passthrough
-
- Blocked
-
-
GODRIVER-4160 Add unified tests for code-20 passthrough
-
- Blocked
-
-
JAVA-6319 Add unified tests for code-20 passthrough
-
- Blocked
-
-
NODE-7865 Add unified tests for code-20 passthrough
-
- Blocked
-
-
PHPLIB-1954 Add unified tests for code-20 passthrough
-
- Blocked
-
-
PYTHON-6120 Add unified tests for code-20 passthrough
-
- Blocked
-
-
RUBY-3964 Add unified tests for code-20 passthrough
-
- Blocked
-
-
RUST-2506 Add unified tests for code-20 passthrough
-
- Blocked
-