-
Notifications
You must be signed in to change notification settings - Fork 116
Move the multipart upload requests into S3Core (step 3.2 of #1063) #1069
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
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f730dd1
Move the multipart upload requests into S3Core (step 3.2 of #1063)
laughingman7743 3825953
Reject a versioned destination in create_multipart_upload(), and fix …
laughingman7743 6e2fb2e
Inject the abort failure through the core in its test, and fix docs
laughingman7743 e8f2853
Say that request_kwargs can also give upload_part_copy() its range
laughingman7743 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Self-review round two (claims, callers, AWS operation, docs). Base
911492c3e63ae6ba8c8892be2543fd1b51a75447, head3825953dfc51b842229f1eb563931176f3797880. Result: CLEAN after PR-text corrections.Claims checked:
{**params, **request}andS3Core.call'srequest_kwargsmerge;discard()andclear_multipart_uploads()send the same AbortMultipartUpload fields. The append'sCopySourcechanged from"bucket/key"to a dict:botocore.handlers.handle_copy_source_param(botocore 1.43.102) encodes both identically for keys with spaces,+,%, non-ASCII and?; only a key likea?versionId=v1?bdiffers, where the string form was misread as a version. Stated in the PR.abort_multipart_uploadof a missing upload →FileNotFoundError(measured live);part_ranges()sends no request; the cache note now covers all core requests. The other filesystem docs (5 MiB, 5 GiB, 10,000 parts) still hold.MULTIPART_UPLOAD_*attributes raiseAttributeErrorwhen read and are ignored when a subclass sets them — added to the PR's breaking note. The removed private helpers have no remaining references inpyathena/,tests/,docs/orbenchmarks/.S3Core.call; the aio copy keepsto_thread+wait/shieldand its cleanup unchanged. Pre-existing Multipart uploads with ChecksumAlgorithm cannot complete, and clear_multipart_uploads() fails on finished uploads #1070 (checksum completion, clear race) measured live and left unchanged.