pingqiuandClaude Opus 5.5 199bb65fc6 Publish the issued lease atomically and accept any older-epoch HEAD
A move issue published the new epoch's lease view and then, in a
separate lease-lock section, replaced the deadline with issue + TTL. A
renewal of the new epoch landing between the two raised the deadline,
and the issue then lowered it under the outstanding grant, so later
renewals inside that grant were refused. The view and the initial
deadline are now published in one section, and the issue never lowers a
deadline.

A forced move now accepts any HEAD at an epoch below the expected one,
read after admission, with the lost range from that HEAD's RemoteLSN.
Requiring the HEAD generation and LSN recorded at the issue refused the
volume for good when an earlier holder's in-flight claim landed after
the next move was issued and that move's holder then died unclaimed. A
HEAD at the expected or a higher epoch that is not the expected holder's
is still refused; clean moves are unchanged.

Comments now say what admission guarantees: the expired holder starts
no new claim or cut, but a claim already sent may still land. The
paused-holder test witnesses the refused attach decision instead of
watching HEAD for a fixed time, and the design document and invariants
record the issue-to-lease transition, the forced HEAD rule and the open
model check.

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