Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert chunk manager to use listenable futures with cancellation #419

Merged
merged 2 commits into from
Nov 22, 2022

Conversation

bryanlb
Copy link
Contributor

@bryanlb bryanlb commented Nov 21, 2022

Converts the chunk manager to use listenable futures, which can be interrupted, instead of completable futures which cannot. This also should address a long standing todo to return an exception when all results return an error and now returns the exception instead of an empty result.

@bryanlb bryanlb marked this pull request as ready for review November 21, 2022 22:25
mansu
mansu previously requested changes Nov 22, 2022
Copy link
Contributor

@mansu mansu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of minor clarifications needed. Otherwise LGTM!

@bryanlb bryanlb force-pushed the bburkholder/chunk-manager-base-futures branch from b5ad992 to f9c9ab4 Compare November 22, 2022 18:08
@bryanlb bryanlb merged commit fe25172 into master Nov 22, 2022
@bryanlb bryanlb deleted the bburkholder/chunk-manager-base-futures branch November 22, 2022 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants