mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #332] fix(oss): use if_not_exists for put-if-absent on S3 backends #354
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/332
Author: @Bnjoroge1
Created: 10/1/2026
Status: 🔄 Open
Base:
main← Head:fix/oss-if-none-match📝 Commits (1)
f2331b7fix(oss): use if_not_exists for put-if-absent on S3 backends📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/snapshot/repository/backends/oss/client.rs(+1 -1)📄 Description
opendal 0.55's S3 service declares
write_with_if_not_existsbut notwrite_with_if_none_match, soput_bytes_conditionally(etag=None)is rejected client-side and every conditional create against an S3-compatible store (RustFS, MinIO, R2) fails with HTTP 500claim volume alias / backend error. Verified end-to-end against a local RustFS backend: volume create previously 500s, now succeeds.if_not_exists(true)is the same put-if-absent semantics the S3 service already supports.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.