pingqiuandClaude Opus 5.5 7e5f1fce7d storage: every HEAD install goes through setHeadLocked; the ref table mirrors it under test
The nine places that installed the layer's HEAD (attach, settlement,
adoption, a fence, a cut's finish) go through setHeadLocked, and a cut's
finish through setHeadChangedLocked, which updates only its changed
chunks. On the v1.1 format they keep the ref table HEAD's when
refTableMirror is on; it stays off until the flat map goes (both at once
only add memory). TestRefTableMirrorsHeadThroughTheLayer runs the cut,
settle, hydration and fill suites on v1.1 with the table on and every
table read checked against the map (a mutant that drops a cut's changes
fails it). Tests that wrote the layer's HEAD directly now install it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 09:41:21 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%