From 0274d76fd7b15ef8ff6190f246f5ce2841a65e91 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 29 Nov 2026 00:25:47 -0800 Subject: [PATCH] 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 --- seaweed-block/docs/volume-lifecycle.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/seaweed-block/docs/volume-lifecycle.md b/seaweed-block/docs/volume-lifecycle.md index d8d22a42ef..b3aff2a6b4 100644 --- a/seaweed-block/docs/volume-lifecycle.md +++ b/seaweed-block/docs/volume-lifecycle.md @@ -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