mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
39d57f215a8f52f065e98a64aa4fe02c14966ae4
Non-blocking improvements landed before slice-2:
1. AchievedLSN assertion. Was log-only; now asserts
res.AchievedLSN == post-session primary.H, which is
frozenTarget + len(overwrites) by construction. Tighter than
"achieved >= target" — catches a SessionLive frame that
silently didn't apply (achieved would lag) or barrier ack
drifting past the actually-shipped tail.
2. Convergence assertion now compares replica.Read(lba) against
primary.Read(lba) directly (replica == primary), not just
against the cached bRefs payload. Defence-in-depth: if a
future receiver bug diverges from primary in a way that
"happens to" still match the cache, the primary-direct
comparison catches it. bRefs check retained as test-internal
sanity that the live-write payload itself wasn't dropped.
3. Comment fix: "5× locally" → "10 consecutive runs" to match
what the stability check actually did.
4. Companion-SHA list in the file header now lists cf232f2
(this slice itself) alongside Phase 0 / C3 / Pillar 2
commits — easier blame.
10× consecutive runs deterministic post-polish; cross-package
sweep (transport / recovery / replication) all green.
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%