Skip to content

node: DecdnChainWatcherFlapping fires on every node; 34–46% of eth_getLogs fail with dRPC code 19 and the in-tick retries fail with them #2253

Closed

Description

@altanoruc

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 window lines. All 844 are error 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_healthy stays 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

🤖 Generated with Claude Code

Activity

  1. added
    kind:bug
    rust
    area:node
    on Sep 30, 2026
  2. altanoruc commented on Sep 30, 2026

    @altanoruc
    ContributorAuthor

    Still firing through 20:45 UTC; the registry and blacklist re-enumerations fail with it

    Rate. Fleet-wide eth_getLogs failure 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 backoff logged 205 times in the two hours to 18:55.

    Knock-on: DecdnCapacityBondRegistryResyncFailing fires 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:

    • Every node logs capacity-bond registry resync failed; keeping current projections about once every 1–4 h (7 on bcl since 06:00, 1–2 on each of the others).
    • ash1 and bcl failed in the same second, 17:56:59, on 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-set hit 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.
    • The resync alert fires on any single failure in an hour (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

  3. self-assigned this
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:nodekind:bugrust

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions