Repository navigation
Description
Summary
DecdnChainWatcherFlapping is firing on every testnet node. #2161 added in-tick retries (2 retries, 2 s apart), but the fleet still fails 34–46% of eth_getLogs calls, and a retried window fails again about as often as a fresh one. The five watchers restart together, 16–28 times per ~10-minute window across the fleet.
Evidence (testnet, 2026-09-30)
Alert state. Alerting on all 7 nodes: bcl since 13:17 UTC, ash1 16:06, hil1 16:49, lon1/nbg1 16:50, fra1 16:54, hel1 16:56.
Per window, fleet totals (decdn_rpc_requests_total{method="eth_getLogs"}, decdn_blacklist_watcher_restarts_total):
| window (UTC) | eth_getLogs failed | watcher restarts |
|---|---|---|
| 17:04–17:16 | 176 / 484 (36%) | 20 |
| 17:17–17:31 | 192 / 572 (34%) | 18 |
| 17:35–17:44 | 130 / 356 (37%) | 18 |
| 17:44–17:52 | 128 / 337 (38%) | 16 |
| 17:53–18:04 | 231 / 507 (46%) | 28 |
One hour of poller logs, fleet (~16:47–17:47 UTC):
- 844
eth_getLogs window failed; retrying the same windowlines. All 844 areerror code 19: Temporary internal error. Please retry. - 578 were retry 1 and 266 were retry 2. Then 121 ticks gave up (
multiplexed poller tick error … gave up after 2 in-tick retries): ash1 26, fra1 23, bcl 19, hil1 19, lon1 13, nbg1 11, hel1 10. - A retry 2 s later fails 46% of the time (266/578), and a third try fails 45% (121/266). That is above the first-try rate, so failures cluster in time and the 2 s retry lands in the same bad state.
- Both window shapes fail: 501 of 844 were short (< 99 blocks, the tick's head-ending remainder), and 343 were full 100-block windows. Example from ash1:
[314374535, 314374634]failed at 18:12:22, :25 and :27, and then the tick gave up.
Trend. Fleet-wide decdn_blacklist_watcher_restarts_total ran at 0–7 per 3 h before 2026-09-24 ~17:00 UTC. It has run at 100–600 per 3 h since.
Side effects.
- Watcher tick age reaches 70–120 s, and watcher downtime peaks at 11–52 s per node in a 12-minute window.
decdn_rpc_healthystays 1 throughout, so the overview's "Chain RPC" stat is green while the alert fires.- No events are lost (the cursor advances per window). The cost is lag, plus a permanently firing alert that would hide a real stall.
Options
- Poll to
head − Nblocks, so no window ends at the tip that lagging dRPC upstreams answer with code 19 (node: retry a transient eth_getLogs window failure inside the poller tick instead of failing every watcher #2161 saw code 19 only at the tip). - Spread the retries out (longer, jittered delay, or retry on the next tick instead of spending the tick).
- Multi-RPC priority failover: blockchain.rpc_urls with sticky fallback #2156 (fallback RPC) removes the single-provider dependency.
- Until one of these lands, the alert is noise on testnet. Consider silencing it, or raising its threshold.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
altanoruc commentedon Sep 30, 2026
Still firing through 20:45 UTC; the registry and blacklist re-enumerations fail with it
Rate. Fleet-wide
eth_getLogsfailure share (decdn_rpc_requests_total{method="eth_getLogs"}, per hour, UTC): 16–17 42%, 17–18 38%, 18–19 32%, 19–20 37%, 20–20:45 43%. No sustained improvement.multiplexed poller tick error; restarting after backofflogged 205 times in the two hours to 18:55.Knock-on:
DecdnCapacityBondRegistryResyncFailingfires too. It fired on ash1 (from 18:13) and bcl (from 18:12) and had cleared by 21:14, with no new failures in between. The cause is the same provider flakiness, not a registry fault:capacity-bond registry resync failed; keeping current projectionsabout once every 1–4 h (7 on bcl since 06:00, 1–2 on each of the others).getRegisteredNodes(offset=0, limit=100). Two hosts failing together points at the shared RPC, not either node.blacklist watcher: periodic re-enumeration failed; keeping the current deny-sethit lon1 17:33:54, fra1 17:39:54 and hel1 17:42:55. lon1's resync and blacklist re-enumeration failed in the same second too.increase(decdn_capacity_bond_registry_resync_failures_total[1h]) > 0, for 15m). So at the current RPC failure rate it pages for about an hour after each transient blip.The resync log line drops its cause, so these can't be tied to dRPC code 19 from the logs alone. Filed separately as #2255.
🤖 Generated with Claude Code