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

Make CC fetcher responsive to interrupts #123

Open
kkrugler opened this issue Mar 23, 2018 · 0 comments
Open

Make CC fetcher responsive to interrupts #123

kkrugler opened this issue Mar 23, 2018 · 0 comments
Labels

Comments

@kkrugler
Copy link
Member

During termination, we have long-running fetch threads that are busy downloading data from S3.

We need to check if we're interrupted and throw an exception. This might mean using an InputStream "bridge" to forward data from the AWS client in blocks, and check for interrupted state with each block.

We'd also want to check for interrupts before looking up URLs in our secondary index, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant