mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
71f93f6cd8cbe6d8a3473632f552abff01ede156
Architect round-52 findings absorbed:
- iscsi-listen 0.0.0.0 → 127.0.0.1 (T2 iSCSI loopback-only rule)
- remote SSH bash blocks: set -euo pipefail + DEV non-empty assert
+ primary.H advancement check (catches silent dd failure masking)
- RecoveryDecision empty no longer acceptable: must observe
explicit catch_up transition or fail
- (walstore.OpenReadOnly already correct per sw earlier commit)
Two-tier mode added:
- LOCAL_MODE=1: single Linux host (e.g. WSL); both processes on
localhost; iSCSI/race/full-suite skip if iscsiadm/Go-too-old
- LOCAL_MODE=0 (default): m01 cross-node Tier 2
Tier 1 verified PASS on WSL (cluster bring-up + role split; iSCSI
tests cleanly skip).
SSH detach fixes:
- pkill -f '[g]5-block' (regex character class avoids self-match)
- setsid nohup ... & (replaces & disown; full process group break)
- ssh -n (no stdin; helps SSH session cleanup on Windows Git Bash)
Tier 2 (m01) status: cluster comes up correctly end-to-end (master +
primary + replica all running; replica logs role-split supersede),
but SSH session for start_replica step doesn't return cleanly from
Windows Git Bash — known SSH-from-Windows quirk. Tier 2 should run
from a Linux SSH host OR with ProxyJump to avoid Windows-side hang.
Tier 1 evidence is sufficient for criteria #1 (cluster ready, role
split). Criteria #2/#3/#4 require iSCSI which neither WSL (no
open-iscsi) nor Tier 2 (Windows-SSH hang) currently runs end-to-end.
Carry: Tier 2 on Linux-host SSH OR install open-iscsi on WSL.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%