pingqiuandClaude Opus 5.5 d87c49d9d4 storage: WAL holes are detection only (#51, ruling A)
claude05's ruling (A), 2026-11-16 06:47Z: nothing about which records
replay, where replay stops, or whether the volume opens changes.

- walstore: recovery.go is main's replay again; the checkpoint+1
  cutoff and the cross-range stop are gone. At a non-zero bad entry a
  look-ahead finds whether a valid later entry (LSN above the highest
  decoded so far) follows in the rest of its range or a later one; if
  so the typed warning wal_hole_suspected is logged and counted. A
  look-ahead read error is logged and changes nothing.
- smartwal: the positional mid-history fail-closed is gone (no
  generation guessing). Populated slots whose record CRC fails are
  skipped as before and reported as the counted warning (a torn tail
  or a corrupted record; not distinguishable without a watermark).
  ea1faf6a's data-CRC fail-closed stays as merged.
- the warning still reaches the durable status and /status and never
  changes Healthy, readiness or promotion.

Cross-range detection, no replay past a hole, and any new fail-closed
move to the post-M4 watermark work. Last-writer-wins by LSN is #156.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 23:04:21 -08:00
Languages
Go 84.7%
Rust 7.7%
Shell 2.7%
templ 1.5%
Java 1%
Other 2.1%