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: demand-scoped twins re-admit every pair from Envoy's stream-reset re-subscriptions — observed_pairs == SAs × destinations on all talos nodes after the #1032 deploy #1033
Every node's agent logged east-west QUIC fan-out quic_clusters=N observed_pairs=N local_identities=N/2 allow_listed_services=2 (24/24/12, 18/18/9, 28/28/14, 20/20/10, 20/20/10): observed pairs == local ServiceAccounts × allow-listed destinations on every node, with no persisted pairs before the upgrade and no traffic from most of those SAs (the kind run in #1032 built 6 of 28). The demand-scoping delivered no reduction on talos.
Mechanism (reading of #1032's "held twins on a fresh xDS stream re-admit their pair")
The running Envoy already held all twin clusters from the previous agent generation (built by the SAs × destinations rule). On the new agent's fresh xDS stream Envoy re-requests its known on-demand clusters by name; the observer treats each re-subscription as demand, admits the pair, and persists it in ObservedUpstreams.quic_pairs. Pairs prune only when the SA leaves the node, so the old fan-out is now persisted permanently on every talos node.
Ask
Admit a pair only from an on-demand request for a twin that is not in the snapshot (real first use). Answer re-subscriptions for twins the agent does not serve as absent so Envoy drops them. Persisted pairs remain the only carry-over across restarts.
Gate seen red: a server/cache test where Envoy's initial delta request re-subscribes 24 twin names on a fresh stream with an empty persisted set → 0 admitted (today 24); the mtlspool live variant: restart the ADS server with Envoy holding twins → no twins re-created until a request routes.
Migration for the pairs already persisted on talos: a prune rule (persisted pairs whose twin has not been fetched on demand since the last agent start are dropped after a bounded period) rather than a manual file edit; document it.
Gate on the next deploy: observed_pairs per node ≈ the number of (SA, destination) pairs with traffic (k6 loaders, prober, dialers: single digits), not local_identities × 2.
Activity
Merge origin/main into fix/quic-pairs-no-readmit
fix(quic): a twin pair Envoy has subscribed to is never forgotten — d…
Merge origin/main into feat/quic-unconditional