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

Ensure FilePartWriter can't leave partially written files #9784

Closed
Tracked by #8596
andrross opened this issue Sep 5, 2023 · 0 comments · Fixed by #10347
Closed
Tracked by #8596

Ensure FilePartWriter can't leave partially written files #9784

andrross opened this issue Sep 5, 2023 · 0 comments · Fixed by #10347
Assignees
Labels
bug Something isn't working distributed framework v2.11.0 Issues and PRs related to version 2.11.0

Comments

@andrross
Copy link
Member

andrross commented Sep 5, 2023

FilePartWriter is a new component added for multipart downloads that uses the FileChannel Java API to write multiple distinct parts of a file concurrently. We have error handling code in place, but if the process were to ungracefully exit then a partially written file can be on disk. We must ensure that this case cannot lead to corruption, and that integration tests exists to verify the functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distributed framework v2.11.0 Issues and PRs related to version 2.11.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants