-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
2
-
2
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Use Case
As a driver engineer
I want backpressure ops to be limited to retryable errors
So that backpressure implementation stays spec compliant
User Experience
- The driver should only execute on server backpressure backoff when the incoming [error indicates that it is a retryable
_overload error](https://github.com/mongodb/specifications/blob/92b3c0b9287bfba1b0ec4084300858d05c654f8c/source/client-backpressure/client-backpressure.md?plain=1#L107-L108)_
Dependencies
- N/A
Risks/Unknowns
- None
Acceptance Criteria
Implementation Requirements
- the call to calculate the baseBackoffMS in the driver should be gated not just behind SystemOverloadedError but also RetryableError.
Testing Requirements
- unit tests should be added to ensure the gate is hit and no legacy retry behaviours illicit backoff calculations reliant on retryable error labels
Documentation Requirements
- N/A
Follow Up Requirements
- None
- links to