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

Set the chunk size for S3 upload to 64MB #717

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

bcrochet
Copy link
Contributor

The default minimum chunk size of 5MB for s3 upload only allows for an upload of about 50Gi. It is not out of the question for a bootc image to get above this threshhold.

For now, this will increase the chunk size to 64MB making it possible to upload images up to ~640Gi. This could in the future become a dynamic value, but for now, this should at least give some head room.

The default minimum chunk size of 5MB for s3 upload only allows for an
upload of about 50Gi. It is not out of the question for a bootc image to
get above this threshhold.

For now, this will increase the chunk size to 64MB making it possible to
upload images up to ~640Gi. This could in the future become a dynamic
value, but for now, this should at least give some head room.

Signed-off-by: Brad P. Crochet <[email protected]>
@bcrochet bcrochet force-pushed the add-chunk-size-override branch from 75a7a42 to 23d7644 Compare May 30, 2024 01:32
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

TY. LGTM!

@achilleas-k achilleas-k enabled auto-merge June 3, 2024 14:35
@bcrochet
Copy link
Contributor Author

bcrochet commented Jun 3, 2024

TY. LGTM!

Thanks. Failed checks appear to be unrelated?

@achilleas-k achilleas-k added this pull request to the merge queue Jun 3, 2024
@achilleas-k
Copy link
Member

There's a small chance the PR might fail in the merge queue because of some flaky testing that started happening recently. If it does, then #725 should fix it, so I'll re-queue it after that's merged.

Merged via the queue into osbuild:main with commit 991b5f3 Jun 3, 2024
16 of 18 checks passed
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