forked from redpanda-data/redpanda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ducktape/cloud_storage: Track active hydrations
In reader stress test the number of active kafka connections is expected to be zero after a deadline. However when chunked read path is used, readers are blocked while downloading chunks from cloud storage. The readers will only detect that kafka connection has aborted after an active download is finished. This change adds a wait for all hydrations to finish before asserting that connections are down to zero. This wait is for 15 seconds which may be a little more than necessary, but it is hard to predict how long current downloads will take. On the other hand the wait for connections to go down after downloads are finished is reduced to three seconds. In practice the connections should go down much sooner but three seconds is a conservative estimate.
- Loading branch information
Showing
1 changed file
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters