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
QUIC twins: first use after an agent+proxy restart takes >5 s to publish — Envoy's on-demand fetch times out and 428 requests fail 503 NC cluster_not_found (rev248 phase C, 15:44:51Z) #1049
What happened (talos-main rev248 = 1.0.3-763e257, 2026-09-28)
Sequence: rev248 deploy rolled the agent (15:38–15:40Z) and the proxy (≈15:41Z). k6 (5 loaders × 60 rps, SA default) started sending to the QUIC-enabled svc-1/svc-2 at 15:44:44Z. Requests succeeded for ~6 s, then every source node returned 503 NC cluster_not_found (upstream_cluster -) from 15:44:51 to :53 — 428 client-visible failures (k6 status=503), 83–89 per node. Then the twins arrived and everything flowed.
Proxy logs (all nodes): cm odcds: on-demand discovery for cluster quic:svc-1.aether-test.aether.internal@aether-test/default timed out at 15:44:52.2 (w04), 15:44:52.6–52.7 (w01) — the on_demand filter's ODCDS timeout fired. w03 additionally logged cluster quic:svc-2…@aether-test/default not found during on-demand discovery at 15:45:04.7 — an "absent" answer for a name the proxy holds a subscription for, which the ODCDS strand rule says must never happen.
Agent logs: w04/w03 republished dormant east-west QUIC pairs: the proxy still holds their on-demand subscriptions, so the twin is pushed with no request at 15:44:46.0/46.1; w02/w05/w01 observed east-west QUIC pair (ODCDS); building its twin at 15:44:49.99–50.71. So the agent saw the ODCDS request ~3 s after the proxy sent it (the proxy's timeout at 52.2 means the request went out ≈47.2), and the twin still was not in Envoy at 52.x — and on w04, where the pair was republished without a request at 15:44:46, the proxy still timed out at 15:44:52: the published twin took >6 s to reach the proxy.
Why it matters
This is the "#1014 step 0 NC" gate for #979: a fresh ServiceAccount (or a dormant pair returning after an agent restart) must not fail its first requests. Rolls 1–3 of the same run (proxy-only restarts against a warm agent) had 0 NC — the re-subscribe path is fine; the slow path is first-use / dormant-return right after an agent restart.
Ask
Measure where the 5–8 s goes on a fresh agent: ODCDS request receipt → ledger admit → snapshot build → push (the snapshot after a restart carries every pod's listeners/clusters; is the twin serialized behind a full-snapshot rebuild or a debounce?).
Answer ODCDS for a dormant/known pair from the ledger immediately (twin config is deterministic), before the full republish; never let the on_demand timeout beat the answer.
Activity
fix(quic): answer ODCDS for a known twin immediately and never absent…
fix(xds): a restarted agent's proxy hears drain marks within 1 s of t…