pingqiuandClaude Opus 5.5 fe9df65af8 storage: settle a held cut CAS by re-proposing it at the same base
A cut or detach CAS whose outcome is unknown while HEAD still reads its
base generation may still be applied by the server later. Reading HEAD
alone no longer settles it: the capture keeps the proposal pending, and the
next cut, durability point or Detach re-issues the same proposal at the same
base. Whichever lands first, HEAD ends at that proposal and the other fails
its precondition, so a delayed detach can never land after a no-op cut.

The fake remote gains a held CAS mode (casDeferred) and releaseDeferredCAS,
which applies held CAS calls later only if HEAD is still at their base.

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