pingqiuandClaude Opus 5.5 676b6414a6 storage: v1.1 chunk record: use the open-time upgrade; pages never past the durable WAL; review fixes
- attach calls upgradeChunkRecord (presence saved first for a fresh attach)
  instead of a second upgrade: log-only writes are seeded, a marked store
  is rebuilt from its bits, never from engine state
- a page's position is clamped to the last completed WAL sync, and a
  clean stop syncs the WAL before its final pages
- the attach refuses if the store closed while the upgrade had released
  its barrier
- an evict clears the store's bits only after its absent page is durable;
  fill-mark batches and evicts are serialized (markMu)
- a marked store never parses a leftover .chunkpresence
- a final page failure is the result of the layer's and the store's Close

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:20:55 -08:00
Languages
Go 84.6%
Rust 7.8%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%