docs(lifecycle): the re-grant barrier is for a lease expired against the stored horizon

A holder whose own grant ran out while the stored horizon is still ahead,
and a live holder renewing at the same epoch, are granted at once, also
right after a blockmaster restart while they renew within the lease TTL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-29 00:25:47 -08:00
1 parent a53dbd53aa
commit 0274d76fd7
1 file changed
+5 -3
+5 -3
View File
@@ -354,9 +354,11 @@ blockmaster grants the lease again only after a barrier: the stored lease horizo
`--workspace-max-clock-skew` (default `20s`). With the defaults that is at most
**65 seconds after the process stopped**; if blockmaster restarted meanwhile, also at
least 50 seconds (30 s plus the skew) after that restart, whichever is later. That
floor applies only to a lease that expired (this case) and to a forced move to another
holder: a live holder still inside its lease renews at once after a blockmaster
restart, at the same epoch, with no wait. The
barrier applies to a lease that expired against blockmaster's stored horizon (this
case) and to a forced move to another holder. A holder whose own grant ran out while
the stored horizon is still ahead, and a live holder renewing at the same epoch, are
granted at once, also right after a blockmaster restart (as long as they renew within
the lease TTL of that restart). The
refusal says when: `workspace lease: renewal failed after ...: workspace forced move
lease expiry plus clock-skew margin has not elapsed (re-grant refused until <time>, in
<duration>)`. The process sleeps until just after that time (then polls every 200 ms