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
node: the mid-stream pool re-check passes on a frozen projection when the chain watchers are stale #2806
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:featureNew capability or a change to current behaviorprio:lowWhen convenient
Chain freshness is checked only at admission (crates/node/src/handlers/client/dispatch.rs, refusal ChainStale). Mid-stream, the pool-solvency re-check (delivery.rsdeliver, serve_leg.rs) reads remaining from the event-fed projection. When the settlement watcher is blind beyond chain_staleness_grace_sec, the projection stops advancing, and every re-check passes against a frozen remaining. The node-wide watcher metrics show the chain is stale, but nothing records that live streams passed re-checks on frozen data, so an operator cannot tell a passed check from one that read nothing new.
Options:
Count it: when chain_freshness reports stale at a mid-stream re-check, bump a counter (a sibling of decdn_serve_pool_recheck_skipped_total) and log a throttled warn!. No behaviour change.
Or stop the stream in-band once the projection is stale past the grace window, matching admission.
Done when a mid-stream re-check on a stale projection is either visible in metrics or stops the stream, with a test.
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:featureNew capability or a change to current behaviorprio:lowWhen convenient
Activity
test(node): cover the stale re-check's edge cases; tighten its docs (#…
fix: box redeploy e2e futures, keep --json on an empty bundle pull, c…