-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset prefetcher on any error (#933)
* Add test of PartQueue invariant failure Signed-off-by: Alessandro Passaro <alexpax@amazon.com> * Reset prefetcher on any error The prefetcher did not reset its internal state (and cancel current tasks) when encountering an error on a forward seek. As a result, successive reads could try and read from a part queue in an invalid state. This change ensures that the prefetcher is always reset when encountering an error, whether while reading or seeking. Signed-off-by: Alessandro Passaro <alexpax@amazon.com> * Fix prefetcher reset on integrity error Signed-off-by: Alessandro Passaro <alexpax@amazon.com> --------- Signed-off-by: Alessandro Passaro <alexpax@amazon.com> Co-authored-by: Alessandro Passaro <alexpax@amazon.com>
- Loading branch information
Showing
1 changed file
with
118 additions
and
51 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