-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
Fully Compatible
-
ALL
-
Networking & Obs 2024-10-28
-
0
AsyncOpTimeoutWithOpCtxDeadlineLater sets a timeout on the request but does not set a timeout code. As a result, the timeout code returned from NI::startCommand will context-dependent. In particular, if a timeout happens to be hit during connection acquisition (which is more likely on slower hosts like the sanitizer ones), a PooledConnectionAcquisitionExceededTimeLimit will be returned rather than a NetworkInterfaceExceededTimeLimit error, as expected.
To solve this, we should be sure to set a timeout code on the request so that it will be returned during any timeout, regardless of when it occurs.
- is related to
-
SERVER-97593 AsyncOpTimeout test can fail with wrong error code
- Closed