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

   # Which issue does this PR close?
   
   Refs #8134 and #8003.
   
   # Rationale for this change
   
   The `lakefs-s3` preset reports the capabilities of the shared S3 
implementation. On a local-storage lakeFS 1.88.0 gateway, an overwrite changed 
the source ETag. A bounded `UploadPartCopy` using the old ETag returned HTTP 
200 and copied the new bytes. A ranged `GetObject` using the same condition 
returned HTTP 206 and read the new bytes. Both requests used the same 5 MiB 
range on one writable branch.
   
   # What changes are included in this PR?
   
   Document the gateway behavior in the preset guide and show how to set 
`read_with_if_match=false` with `CapabilityOverrideLayer`.
   
   # Are there any user-facing changes?
   
   Callers who apply the documented override receive `ErrorKind::Unsupported` 
when they request a conditional read or writer copy with `if_match`. 
`OpRead::check` rejects that condition before OpenDAL issues the read or copy 
request. Both doctests in the preset guide passed. The gateway observations 
reflect requests made with default capabilities.
   
   # Breaking changes
   
   # AI Usage Statement
   
   | Harness | Model | Effort | Role |
   | --- | --- | --- | --- |
   | T3 Code / Pi | `magpie/codex/gpt-6.2-sol` | xhigh | Tested the gateway and 
wrote the documentation. |
   | T3 Code / Pi | `magpie/codex/gpt-6.2-astra` | high | Coordinated the work, 
checked the option validation and ran the guide doctests. |
   | T3 Code / Pi | `magpie/agy-cli/gemini-4-neon` | high | Drafted the PR 
description. |
   | T3 Code / Pi | `magpie/devin/swe-2` | high | Independently reviewed the 
documentation. |
   


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