mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
87a922fa18fdef0c23e8157985e84ed6e1f93547
codex01 row 5b review (b8950a26, AMEND):
- P1: recoverV3 sets the volatile acknowledged W to the recovered prefix
R instead of keeping an older in-memory maximum. A same-open recovery
that drops mode C's newest batch could otherwise let refreshW publish a
W the WAL no longer holds, and the next Recover report a false
wal_corrupt. Control: same-instance Recover -> refresh -> Recover with
the exact kept and fenced bytes.
- P2: a scan error under an installing descriptor keeps the typed
ErrBaseIncomplete outcome (cause preserved, not labelled damaged).
- P2: the real flusher cycle runs the mode-C idle refresh, also when no
dirty entries remain. Control drives flushOnceInternal (no timing oracle).
- P2: the held controls use bounded handshakes and register their release
as test cleanup before the held goroutine starts.
- Row 7 handoff: Read's post-OnReadMiss dirty-map recheck dispatches to
the v3 WAL reader.
The LSN-order dependency is closed by codex03's writer enforcement
(2f201a5a..f0fd2916) and DESIGN r16.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.8%
Rust
7.6%
Shell
2.7%
templ
1.5%
Java
0.9%
Other
2.2%