Repository navigation
test(heal): require automatic retirement after cross-peer delete - #190
Merged
Merged
Conversation
Co-Authored-By: heihutu <[email protected]> Co-Authored-By: zhi22915 <[email protected]> Co-Authored-By: qunjiazhu <[email protected]>
overtrue
approved these changes
Dec 1, 2026
overtrue
left a comment
Collaborator
There was a problem hiding this comment.
LGTM on 18186dae (test(heal): require automatic retirement after cross-peer delete).
Detailed Review
scripts/validation_heal/mrf_held_deleted_docker.sh:- Deleting the unversioned object through
${endpoints[1]}rather than$coordinatordirectly exercises cross-peerDELETEpropagation, followed by authenticated404HEADchecks across all three endpoints and direct filesystem checks across all nine storage directories. - Removing the manual
POST .../responsibilities/actions(recheck) step and waiting up to 120s foractiveResponsibilityCount == 0 && heldCount == 0across all nodes—and verifying the drained state persists after restartingcontainers[0]—matches the automatic held-MRF retirement behavior targeted inrustfs/rustfs#9831. - Retaining
capture_held > "$evidence/held-before-delete.json"before theDELETEpreserves diagnostic identity evidence without interfering with automatic discharge.
- Deleting the unversioned object through
docs/validation-heal-cases.md:- Accurately updates the E05 Docker regression description to match the cross-peer delete and automatic discharge flow.
contract-tests is green. Note that running this standalone script requires a RustFS image with automatic held-MRF discharge support (rustfs/rustfs#9831).
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.
Related issues
Refs rustfs/rustfs#9825, rustfs/rustfs#9810, rustfs/rustfs#9831 and rustfs/backlog#3397.
Summary
Run a standalone Docker regression alongside E05 on three disposable nodes with nine directories and EC:3. A degraded S3 PUT first persists an active responsibility. After the offline peer rejoins, the test confirms the original scoped responsibility is held. DELETE runs through another peer. The test checks all three authenticated HEAD responses and all nine physical paths, then requires automatic discharge and verifies it survives coordinator restart.
Verification