pingqiuandClaude Opus 5.5 068d30a6e0 durable: refuse to attach an old local root under another holder's HEAD
A workspace that moved A -> B -> A reattached A's surviving local root as
an existing volume without claiming HEAD: it served A's stale image and its
next (hash-mode) cut overwrote B's acknowledged, synced and published
writes. A non-fresh attach now reads HEAD first; if another holder
published it (Gen != 0, Holder != this holder), the attach fails closed
with ErrChunkStaleLocalRoot wrapping storage.ErrChunkLayerFenced: the
volume is not served and the attach is not retried. One log line and the
status evidence name the volume, the local root, HEAD's holder, generation
and epoch, and say to remove or quarantine the root; the next attach then
starts fresh from HEAD. The deferred (authority-wait) attach records the
same evidence. Recreating the root automatically is a follow-up.

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