Xuanwo opened a new pull request, #9071:
URL: https://github.com/apache/opendal/pull/9071

   # Which issue does this PR close?
   
   Refs #8134.
   
   # Rationale for this change
   
   Ceph RGW 20.2.5 accepted a stale source `If-Match` on a bounded 
`UploadPartCopy`. The writer closed successfully and committed bytes from the 
replacement source. The same gateway rejected the stale ETag on a ranged 
`GetObject` with HTTP 412.
   
   # What changes are included in this PR?
   
   Document the RGW 20.2.5 behavior in the `ceph-rgw` preset guide and show how 
to set `write_can_copy_from=false` on an operator with 
`CapabilityOverrideLayer`.
   
   # Are there any user-facing changes?
   
   Applying the documented layer streams all writer copies on that operator and 
retains conditional reads. In a local RGW 20.2.5 test with an otherwise 
native-eligible 5 MiB chunk and range, the layered writer sent one conditional 
GET and zero native copies per case. The current ETag produced the expected 
mixed-write bytes. The stale ETag returned `ConditionNotMatch`, preserved the 
existing destination, and left zero active uploads after abort. Other RGW 
versions were outside the test.
   
   # Breaking changes
   
   # AI Usage Statement
   
   | Harness | Model | Effort | Role |
   | --- | --- | --- | --- |
   | T3 Code / Pi | `magpie/codex/gpt-6.2-sol` | xhigh | Reproduced the gateway 
behavior, verified the operator override, and drafted the guide and PR 
description. |
   | T3 Code / Pi | `magpie/devin/swe-2` | high | Independently checked the 
documented behavior against the RGW traces and writer implementation and reran 
the doctests. |
   | T3 Code / Pi | `magpie/codex/gpt-6.2-astra` | high | Scoped the 
documentation change and verified the publication text. |
   


-- 
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]

Reply via email to