mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-07 04:25:54 +00:00
docs(knowledge-base): prune stale content and add agent-facing index (#7035)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# Atomic object undo precondition
|
||||
|
||||
**Use this when:** you need the `x-rustfs-expected-current-version-id` precondition for undo-style CopyObject restores or delete-marker removal, or you are changing how it is parsed or enforced.
|
||||
**Source of truth:** `rustfs/src/app/object/shared.rs` (`expected_current_version_id` header parser), `rustfs/src/app/object/copy.rs` (CopyObject enforcement), `crates/ecstore/src/set_disk/ops/object.rs` (`expected_current_version_id` checks under the namespace write lock).
|
||||
|
||||
RustFS supports a destination-side version precondition for the two S3
|
||||
operations used to undo changes in a versioned bucket:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user