-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Exercise multi-part uploads in S3 repo analysis tests #125669
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
Exercise multi-part uploads in S3 repo analysis tests #125669
Conversation
Extends the max blob size to 10MiB, and sets the buffer size to 5MiB, to ensure that sometimes the S3 repo analysis tests will create blobs using the multipart upload flow.
|
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
| request.addParameter("blob_count", "10"); | ||
| request.addParameter("concurrency", "4"); | ||
| request.addParameter("max_blob_size", "1mb"); | ||
| request.addParameter("max_blob_size", randomFrom("1mb", "10mb")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use actual value from the repositorySettings? Hard to guess relationship between those two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is abstract so no we can't see anything S3-specific here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| request.addParameter("blob_count", "10"); | ||
| request.addParameter("concurrency", "4"); | ||
| request.addParameter("max_blob_size", "1mb"); | ||
| request.addParameter("max_blob_size", randomFrom("1mb", "10mb")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it worth increasing the range to 15 or 20? To get more than 2 chunks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 is enough, I can't really see how we could get this right with 2 chunks but wrong with more.
Extends the max blob size to 10MiB, and sets the buffer size to 5MiB, to ensure that sometimes the S3 repo analysis tests will create blobs using the multipart upload flow.
💚 Backport successful
|
Extends the max blob size to 10MiB, and sets the buffer size to 5MiB, to ensure that sometimes the S3 repo analysis tests will create blobs using the multipart upload flow.
Extends the max blob size to 10MiB, and sets the buffer size to 5MiB, to
ensure that sometimes the S3 repo analysis tests will create blobs using
the multipart upload flow.