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

   # Which issue does this PR close?
   
   Closes #9150 
   
   # Rationale for this change
   
   `Hf3fsBackend` advertised `write_with_if_not_exists`, but the writer opened
   the target path directly, so a conditional write was neither atomic with its
   visible commit nor abortable, leaving partial files behind. 3FS provides no
   atomic conditional write, so per the review discussion the capability is
   removed instead of simulated: requests with `if_not_exists` are rejected with
   `Unsupported` by the core capability check before reaching the service.
   
   # What changes are included in this PR?
   
   - Remove `write_with_if_not_exists` from the hf3fs `Capability`.
   - Update the service README to document that conditional writes are
     unsupported.
   - Regenerate `website/data/capabilities.json`.
   
   # Are there any user-facing changes?
   
   Yes. `write_with(...)` and `writer_with(...)` with `if_not_exists(true)` on
   hf3fs now fail with `Unsupported` instead of silently performing a non-atomic
   write. Plain writes are unchanged.
   
   # Breaking changes
   
   None. The removed capability never worked as documented (#9150).
   
   # AI Usage Statement
   
   - Harness: ZCode
   - Model: GLM-5.4
   - Effort: MAX
   - Role: verified on a real single-node 3FS cluster: plain writes pass, and
     `write_with`/`writer_with` requests with `if_not_exists` are rejected with
     `Unsupported` before reaching the service, leaving the target untouched.
     AI drafted this description. The human contributor reviewed, committed, and
     submitted.
   


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