pingqiuandClaude Opus 5.5 5e1f9d11e4 storage: no flat map on v1.1: HEAD's chunks live in the ref table
On the v1.1 format the layer keeps HEAD's identity and its chunks in the
ref table only: the attach reads HEAD one segment at a time from a
segment reader (ChunkSegmentReader; the layout remote is one), every
install fills the table from a HEAD read whole, and the paths that need
the whole image (adoption, owning, the detach cancel, the publication
report) build it from the table. A cut's result reports HEAD's identity
only; no production code reads its chunks (a scan test guards it), and
tests read the remote's installed HEAD. The held heap at 1 TiB's chunk
count is 174 B/chunk (442 before) and is asserted at most 200.

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