feat(rc-replication)!: add a bounded prefix replication diff#287
Merged
cxymds merged 2 commits intoJul 22, 2026
Merged
Conversation
cxymds
force-pushed
the
cxymds/issue-1409-replication-diff
branch
from
July 21, 2026 19:17
e9ad04d to
e424398
Compare
Member
Author
|
Validation update for
The first Windows CI attempt exposed a test-only socket hang in the chunked overflow fixture. The fixture now sends exactly 8 MiB + 1 byte, bounds socket writes and completion waits, and retains the production response-limit assertion. The repaired test passed 10 serial repetitions locally, the full rc-s3 suite, full workspace gates, and the replacement Windows CI job. Production response handling was not changed. Live RustFS container validation remains unavailable because the current environment has no Docker daemon. |
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.
Closes rustfs/backlog#1409
Background
RustFS beta.10 exposes an on-demand replication diff route, but rc had no typed or bounded client workflow for it. Operators could not inspect pending or failed object versions without reaching for raw Admin API requests.
Solution
rc replicate diffandrc bucket replication diffwith an optional prefixPOST /rustfs/admin/v3/replication/diffroute with an empty bodyThis PR intentionally does not claim time filtering, resume tokens, replication metrics, MRF truth, or repair behavior.
BREAKING CHANGE
The protected CLI reference contract is extended with the new replication diff command and the output-v3 contract gains the
replicationfamily. Existing output-v1 and output-v2 contracts are unchanged.Validation
cargo fmt --all --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspaceAll local checks passed. Live container validation was not run because no Docker daemon is available in the current environment.