Skip to content

test(fault-tolerance): check PUT latency during rolling stops - #171

Merged
houseme merged 1 commit into
mainfrom
houseme/test/rolling-put-latency
Nov 26, 2026
Merged

houseme merged 1 commit into
mainfrom
houseme/test/rolling-put-latency

Conversation

@houseme

@houseme houseme commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Extend the existing four-node, one-drive sequential restart scenario with F1/rolling-put-readback and F2/rolling-put-readback. As soon as systemd begins stopping the departing member, send a signed PUT directly to a survivor with retries disabled. Require HTTP 200 within 2.5 seconds and immediately read the same key back from that survivor, checking the full payload byte for byte. The second stop uses the recovered peer as the request target.

Related to rustfs/rustfs#9586 and rustfs/backlog#3373.

Verification

  • bash -n rustfs-fault-tolerance-test.sh and git diff --check passed.
  • A network-isolated Bash 5 fixture verified case registration, direct request order and retry options, passing readback, PUT timeout, corrupted readback, and stop-observation failure.
  • All 27 existing fault-tolerance harness tests passed in a disposable Linux container with the real AWS CLI. The PR CI test check also passed.
  • The shared four-node deployment was not run. This shell case tests systemd stops on the existing fleet. The Docker Swarm VIP scenario remains a separate end-to-end check.

Co-Authored-By: heihutu <heihutu@gmail.com>
Co-Authored-By: zhi22915 <qiuzgang@gmail.com>
Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com>
@houseme
houseme marked this pull request as ready for review November 26, 2026 03:16
@houseme
houseme merged commit cffbc90 into main Nov 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant