mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
retire-host follows finalize-format's contract: exit 0 retired, 2 refused, 75 the master could not be reached, 1 any other failure or usage error, and --json prints result, reason, server, volumes and message for every outcome. The master's HOST_HOLDS_WORK refusal names each held volume in its typed metadata. The forced-move preview answers the typed reason the move itself would carry (reason_code, e.g. BINARY_TOO_OLD), and force-move --dry-run --json shows it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>