Files
seaweedfs/seaweed-block/scripts
pingqiu 1868918b96 G5-5C: harden replica kill in verify_restart_catchup (TERM+KILL+port-release wait)
First m01 hardware run (b77rzzhc2) failed at #4 verify_restart_catchup
because the replica restart hit 'bind: address already in use' on
status port 9291 — TERM alone left the prior process holding the
port at restart time. Probe loop on primary correctly tried 5x and
got connection-refused, replica process never came up.

This is a script orchestration issue, NOT a G5-5C software issue.
Primary log (artifacts-20260427T <run2>) shows the probe loop
fired on schedule with the right cooldown progression — there was
just nothing to probe.

Fix: kill replica with TERM (1s) → KILL fallback → poll ss for
port 9291 release (up to 10s) before returning. Replica restart
then has a clean port to bind to.

Run this fix on m01 and re-verify #4 GREEN before §close.
2026-04-27 17:35:39 -07:00
..