Xuanwo commented on issue #8134: URL: https://github.com/apache/opendal/issues/8134#issuecomment-7158827391
Verified native range copy from an older object version through the `minio` preset at `cce64bce432f`. The test used a local MinIO `RELEASE.2025-01-20T14-49-07Z` bucket with versioning enabled. After writing two distinct versions of the same key, `Writer::copy_from_options` selected the first version and requested `bytes=37-5242916`. MinIO returned HTTP 200 for exactly one `UploadPartCopy`, with part number 1, the older `versionId` and that byte range. There were no source GETs during the copy. After `close()`, the destination contained 5,242,880 bytes matching the older version’s slice and differing from the latest version’s slice. At `1547dea4dd`, the `seaweedfs` preset against local SeaweedFS 4.52 also completed a mixed multipart write with no capability overrides. A native 5 MiB copy with a matching source `If-Match` landed between a local 5 MiB part and a 12-byte suffix. All 10,485,772 destination bytes matched, with zero source GETs. After a source overwrite, a copy using the old ETag received HTTP 412. `close()` returned `ConditionNotMatch`, `abort()` received HTTP 204, and the previous destination remained intact. Cleanup left zero objects and zero active uploads. The broader S3-compatible preset checklist item remains open. *(AI-generated evidence update)* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
