-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: CSOT, Transactions
-
None
-
Needed
-
Summary
The transaction's convenient API spec currently says that, when applying exponential backoff between retries, if the delay would exceed CSOT's deadline, drivers are to raise the previously encountered error. Instead, drivers should raise a timeout error because CSOT has expired.
Motivation
Who is the affected end user?
Who are the stakeholders?
How does this affect the end user?
Are they blocked? Are they annoyed? Are they confused?
How likely is it that this problem or use case will occur?
Main path? Edge case?
If the problem does occur, what are the consequences and how severe are they?
Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?
Is this issue urgent?
Does this ticket have a required timeline? What is it?
Is this ticket required by a downstream team?
Needed by e.g. Atlas, Shell, Compass?
Is this ticket only for tests?
Does this ticket have any functional impact, or is it just test improvements?
Acceptance Criteria
- Clarify that if timeoutMS expires, a timeout error should be raised.
- split to
-
CDRIVER-6233 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
CSHARP-5869 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
CXX-3414 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
GODRIVER-3810 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
JAVA-6093 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
NODE-7430 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
PHPLIB-1783 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
PYTHON-5716 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
RUBY-3770 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-
-
RUST-2357 Clarify expected error if backoff exceeds CSOT's deadline in withTransaction
-
- Blocked
-