pingqiuandClaude Opus 5.5 94db7c173d fix(chunkstore): the empty-image snapshot commit keeps the view's image
The first snapshot of a volume never written names its empty image with a
commit of its own, which gives HEAD its first root. The commit recorded
only its own generation, so the view kept the rootless image. The next
HEAD write by anyone else (a snapshot delete, through the holder or the
store) then looked like an image change: the generation the engine sees
moved, and the next cut lost its commit with head_conflict; its retry
answered internal ("not in HEAD after its commit").

CommitPendingSnapshot now records the image it committed, as the cut's
commit does, so a later write that leaves the image in place does not move
the engine's generation.

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