Skip to content

Pause and resume for multipart download #5258

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

Merged
merged 14 commits into from
Jun 6, 2024

Conversation

L-Applin
Copy link
Contributor

@L-Applin L-Applin commented May 30, 2024

Implement transfer-manager pause and resume feature for multipart download. Multipart download to file with the java-based client will be resumed from after the last completed part.

Motivation and Context

Previously, when resuming any download to file, a GetObject with the Range parameter was performed to s3, resulting in the remaining content of the object being downloaded as one bog chunk, bypassing multipart operations.

Modifications

Add a new MultipartDownloadResumeContext, bound the the original GetRequest through a new multipart execution attribute. This context instance is updated during multipart download and can be access upon resuming.

Testing

Unit test
Integ test
Manual validation

@L-Applin L-Applin changed the title [draft] Olapplin/pause resume multi Pause and resume for multipart download Jun 5, 2024
@L-Applin L-Applin marked this pull request as ready for review June 5, 2024 16:46
@L-Applin L-Applin requested a review from a team as a code owner June 5, 2024 16:46
Copy link

sonarqubecloud bot commented Jun 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
74.8% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@L-Applin L-Applin merged commit 0ecd657 into feature/master/s3mpu Jun 6, 2024
18 of 19 checks passed
@L-Applin L-Applin deleted the olapplin/pause-resume-multi branch January 16, 2025 14:33
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.

2 participants