Repository navigation
fix(core): preserve retention offsets and verify host listing admission - #1668
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RustFS now authorizes native metadata listings, checks the deferred SSE refusal, and then counts and serves the request. Teach the route collector to verify that sequence and the operation-specific metric. It continues to read the earlier handler shape. The host wire tests also found that CopyObject and CreateMultipartUpload lost their source UTC offsets. Both now use the same validated header capture as PutObject under the RustFS profile. The compatibility commit
5ef262952e66applies these fixes to the host’s existing gateway model. RustFS pins this commit on the upstreamcompat/rustfs-9705branch. The host follow-up is rustfs/rustfs#9758.Verification
cargo fmt --all --check, workspace Clippy,cargo test --workspace(11,854 passing tests) andcargo xtask verify --crate rustfs-gateway-corepassed on this update.24f0b1c2b631,cargo xtask verify --allpassed. The workspace build and tests took 460.61s. The guard self-test took 362.10s with ten workers. Each stage stayed within its 480s budget.Role Verdicts
Breaking Change
The public request context keeps its existing signature. Under the RustFS profile, its offset accessor now also reports the supplied offset for CopyObject and CreateMultipartUpload. The default profile keeps its existing behavior.
Checklist
cargo xtask verify)went red. The PR description names which ones
BREAKINGand a migration pathunsafeintroducedinventory/linkmeintroduced#[non_exhaustive]added to a DTO