Quick feedback on the S3 support of AWS
Quick feedback on the S3 support of AWS R2. The multipart support of AWS S3 says each part must be > 5mb (but the last part), and they can be of different size. But R2 insists on having each part of exactly the same size (which is not so easy to implement TBH).
4 Replies
AWS S3 says each part must be of the same size only on multipart uploads to S3 glacier. But S3 standard doesn't have this requirement, and I could test it it works.
Nope at least not from my testing (I am using https://developers.cloudflare.com/r2/api/s3/api/)
And the Cloudflare R2 documentation clearly says:

cc @Sid | R2 if that's of interest, this is a drift from the AWS S3 multipart compatibility, only glacier requires all parts to be of equal size.
Right yeah, so there are two things here:
1. R2 currently has the part size limitation (all parts must be equal, except last). We've been talking about lifting this limitation, but haven't made progress here yet.
2. S3/R2 requires that you order the parts in ascending order when completing an upload. R2 used to send back the wrong error code when you didn't. I've changed things so that you don't need to send parts in ascending order (so we'll be more lenient that S3 here)