docs(block): the restart budget counts the holder's reconnect back-off and when a fenced volume serves again

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-12-05 22:52:31 -08:00
1 parent cafdd9ff4a
commit 93558b6433
1 file changed
+6 -4
+6 -4
View File
@@ -315,10 +315,12 @@ follow the state-storage and low-write-load guidance in section 1 before restart
**The restart budget.** Running volumes keep serving through a blockmaster restart only if blockmaster serves
again before their leases run out. With the default settings, a holder may serve until 20 s after its last grant
(the 30 s lease less half the 20 s clock-skew bound) and renews after a third of the time it has left, so when
blockmaster stops, each running holder has between 13.3 s and 20 s left. A restart that serves again within 13.3 s
interrupts no volume; after 20 s every running volume has fenced. A fenced volume stops I/O, its holder exits 75 and
is started again by its unit, and it serves again once blockmaster is back and past its barrier, at least 50 s after
the restart, with its data.
blockmaster stops, each running holder has between 13.3 s and 20 s left. A holder reaches the restarted blockmaster
up to about 2.4 s after it serves again (its reconnect back-off is capped at 2 s, plus jitter), so a restart that
serves again within about 11 s interrupts no volume; after 20 s every running volume has fenced. A fenced volume
stops I/O, its holder exits 75 and is started again by its unit 5 s later, and it serves again with its data once
blockmaster renews its lease: at once if that renewal arrives within 30 s of blockmaster loading its state at
startup, otherwise at the re-grant barrier, 50 s after that load.
The time to serve again grows with the number of volumes in the cluster spec and with the write load on the
filesystem that holds blockmaster's state directory. Measured restarts to serving on test hosts: