-
Notifications
You must be signed in to change notification settings - Fork 360
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
Store some per-file metadata (rclone multipart upload fails on unexpected ETag) #2486
Comments
This expectation of
(Bold text mine...) |
Here's how rclone even gets the MD5 value. When I run the same command against an AWS S3 bucket, the "complete multipart upload" POST looks like this:
The relevant field is $ echo 0C2WDNtErGGFXOoQFlImaw== | base64 -d | hexdump -C
00000000 d0 2d 96 0c db 44 ac 61 85 5c ea 10 16 52 26 6b |.-...D.a.\...R&k|
00000010
Updated: This field is added by rclone. This bug may be something of a dupe of #2296: it needs to store some per-file header value metadata. |
@nopcoder can we mark this fixed? |
guess I missed it. thanks |
(Originally reported in #2445).
When uploading a file using rclone and multipart upload, rclone computes an MD5 checksum of the file contents, then runs HeadObject on the assembled file and expects to receive that as the ETag. Since the two are different, it fails.
Example (with 10M of random data in
/tmp/x
):The text was updated successfully, but these errors were encountered: