Xuanwo opened a new pull request, #9081: URL: https://github.com/apache/opendal/pull/9081
# Which issue does this PR close? Refs #8134. # Rationale for this change Self-hosted Supabase Storage 1.99.1 with the `file` backend accepted a stale source `If-Match` on a same-bucket `UploadPartCopy`. The writer committed bytes from the replacement source. Supabase documents support for `If-Match` on `GetObject` and marks `x-amz-copy-source-if-match` as unsupported on `UploadPartCopy`. [Supabase S3 compatibility](https://supabase.com/docs/guides/storage/s3/compatibility#object-operations) # What changes are included in this PR? Document the source ETag limitation in the `supabase` preset guide and show how to set `write_can_copy_from=false` with `CapabilityOverrideLayer`. # Are there any user-facing changes? Applying the layer streams all writer copies on that operator through the client, including unconditional copies. The provider test used `Operator::from_uri` at OpenDAL `3ea7b63d6e` with a 5 MiB source range and writer chunk. With the layer, the matching ETag produced the expected mixed-write bytes. The stale ETag returned HTTP 412 on the source read and `copy_from_options` returned `ConditionNotMatch`. # Breaking changes # AI Usage Statement | Harness | Model | Effort | Role | | --- | --- | --- | --- | | T3 Code / Pi | `magpie/codex/gpt-6.2-sol` | xhigh | Ran the self-hosted probe, drafted the guide, and verified the doctests. | | T3 Code / Pi | `magpie/codex/gpt-6.2-astra` | high | Scoped the documentation follow-up from the provider evidence. | | T3 Code / Pi | `magpie/devin/swe-2` | high | Independently reviewed the source ETag handling, streaming behavior, fixture evidence and doctest results. | -- 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]
