You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Graceful shutdown during initial blacklist sync counts a false drift window #1321
Split out of #1315 review (#1283 follow-up). Minor.
rescan returns clean = false when shutdown.is_cancelled(). While the initial-sync gate is still pending, BlacklistSink::on_tick_complete (crates/node/src/blacklist_watcher.rs:221) turns that into a bail, which fires on_backoff, which bumps blacklist_watcher_restarts_total and stamps down_since.
So a node restarted before its first blacklist sync completes emits restarts_total = 1 and a climbing down_seconds in its final scrapes — reporting an RPC drift window when what actually happened was an orderly shutdown. Pollutes exactly the signal #1315 added, and on a fleet doing rolling restarts the false positives are systematic rather than rare.
Cheap fix: do not bail when the shutdown token is cancelled — a cancelled re-scope is not a failed one.
Resolved by #1325 (merged to main as 0b5ce92), which addressed the false drift window on graceful shutdown during initial blacklist sync as part of the uniform six-watcher observability batch.
Activity
feat(node): uniform watcher liveness, panic, and enforcement observab…
thiras commentedon Jul 19, 2026
Resolved by #1325 (merged to
mainas 0b5ce92), which addressed the false drift window on graceful shutdown during initial blacklist sync as part of the uniform six-watcher observability batch.