pingqiuandClaude Opus 5.5 d65471908f durable: auto refuses a chunk-managed root instead of opening it as walstore
walstore-chunk volumes share walstore's on-disk format (SWBK), and on a
fresh host their published bytes may exist only in the remote HEAD. Opened
by auto as plain walstore, such a root would skip chunk recovery, install no
read-miss or fencing hooks and serve the local, absent extent.

Auto now refuses any volume whose root carries chunk metadata
(<volume>.chunk*: fresh marker, dirty bitmap and deltas, presence map),
on both the open and the create path, with ErrImplKindMismatch naming the
files and asking for --durable-impl=walstore-chunk with its remote
configuration. Nothing is deleted or converted.

Tests: a lazy fresh-host chunk root (block published on host A, host B
attached and closed before fetching it) is refused by auto and read
exactly by the explicit walstore-chunk selector; any chunk root is
refused; a stray fresh marker without a volume file is refused and left
in place. autoProvider registers its cleanup (review P3).

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