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

fix(object_store,aws,gcp): multipart upload enforce size limit of 5 MiB not 5MB #3234

Merged
merged 4 commits into from
Dec 1, 2022

Conversation

wjones127
Copy link
Member

Which issue does this PR close?

Closes #3233.

Rationale for this change

Bumping up the size of the test data as well, so it's easier to catch this. However, I think the localstack emulator might not enforce this limit, which is why we didn't catch this earlier.

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the object-store Object Store Interface label Nov 30, 2022
@wjones127 wjones127 changed the title fix: use better minimum part size fix(object_store,aws): use better minimum part size Nov 30, 2022
@wjones127 wjones127 changed the title fix(object_store,aws): use better minimum part size fix(object_store,aws): correct minimum multi-part chunk size Nov 30, 2022
@@ -769,7 +769,7 @@ mod tests {
assert_eq!(bytes_expected, bytes_written);

// Can overwrite some storage
let data = get_vec_of_bytes(5_000, 5);
let data = get_vec_of_bytes(1_123_000, 5);
Copy link
Contributor

Choose a reason for hiding this comment

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

This test doesn't seem to "work" in that it passes even when it should fail. Investigating

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for checking that; I lowered it after I reproduced earlier but didn't retest.

@tustvold tustvold changed the title fix(object_store,aws): correct minimum multi-part chunk size fix(object_store,aws,gcp): multipart upload enforce size limit of 5 MiB not 5MB Dec 1, 2022
@tustvold tustvold merged commit 8f5fd9a into apache:master Dec 1, 2022
@ursabot
Copy link

ursabot commented Dec 1, 2022

Benchmark runs are scheduled for baseline = f133621 and contender = 8f5fd9a. 8f5fd9a is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-rs-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-rs-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-rs-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-rs-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

object_store(aws): EntityTooSmall error on multi-part upload
3 participants