mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
d7c6f8aca31f9a8d516c5e42facbbf3b7412e718
Per G6 §1.H audit work envelope item #1 + §2 #5 acceptance: StartRebuild fires the wire-level rebuild path asynchronously (goroutine launched at line 31 in rebuild_sender.go); pre-G6 the only log marker was 'executor: rebuild complete, sent N blocks' which fires AFTER completion. QA's G5-5C scenario D 5s scrape window saw nothing because rebuild execution exceeded the window — there was no START marker to wait on. Add a deterministic START marker BEFORE the goroutine spawns: executor: rebuild start replica=<id> sessionID=<n> epoch=<n> EV=<n> targetLSN=<n> Fixed string shape so QA's wait_until_rebuild_dispatched helper can grep deterministically. Includes lineage tuple for forensics (matches existing engine StartRebuild command shape; future multi-session debugging can correlate START → COMPLETE on sessionID). Pinned by: INV-G6-WALRECYCLE-DISPATCHES-REBUILD (load-bearing hardware pin §2 #5). Test results: full ./core/transport/ + ./core/engine/ regression GREEN. No behavioral change — pure observability addition.
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%