pingqiuandClaude Opus 5.5 87a922fa18 storage: reset the v3 acknowledged frontier on recovery; wire the idle refresh (row 5b amend)
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>
2026-11-17 02:56:12 -08:00
Languages
Go 84.8%
Rust 7.6%
Shell 2.7%
templ 1.5%
Java 0.9%
Other 2.2%