-
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.
- is depended on by
-
NODE-7827 Misleading error message when the error returns IllegalOperation error
-
- Needs Triage
-