[CSHARP-3881] StreamExtensionMethods.ReadAsync fuzzy timeouts Created: 27/Sep/21  Updated: 31/Mar/22

Status: Backlog
Project: C# Driver
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Boris Dogadov Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-3883 Revert blockTimeMS setting in hello-t... Blocked

 Description   

Sometime timeouts in StreamExtensionMethods.ReadAsync are missed by a lot. For example operation with 750ms timeout succeeds after 1764ms.

First suspect would be the delayed Timer callback, due to a higher load on ThreadPool.

Reproduction patch.


Generated at Wed Feb 07 21:46:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.