From 93558b6433b3fe7a5aaf5b21cc070f63abb0f9c8 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 5 Dec 2026 22:52:31 -0800 Subject: [PATCH] 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 --- seaweed-block/docs/operations-manual.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/seaweed-block/docs/operations-manual.md b/seaweed-block/docs/operations-manual.md index d14e5a1712..2bad7bd21b 100644 --- a/seaweed-block/docs/operations-manual.md +++ b/seaweed-block/docs/operations-manual.md @@ -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: