pingqiuandClaude Opus 5.5 43efa2c82a storage: refuse a newer store format with a typed error and change nothing
A store whose descriptor slots are intact but name a chunk-state format
newer than this binary reads is refused with ErrStoreFormatNewer, told
apart before the slot's byte checks, instead of "neither descriptor slot
is valid"; a half-fence still opens on the known slot. Cut COW side files
are discarded only after a slot is selected, so a refused open leaves the
directory as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 14:22:43 -08:00
Languages
Go 84.7%
Rust 7.7%
Shell 2.7%
templ 1.5%
Java 1%
Other 2.1%