Skip to content

fix(chart): proxy.hotRestart.drainStrategy defaults to gradual again (#1054) - #1068

Merged
bpalermo merged 1 commit into
mainfrom
fix/1054-drain-strategy-default-gradual
Sep 29, 2026
Merged

bpalermo merged 1 commit into
mainfrom
fix/1054-drain-strategy-default-gradual

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

Reverts the #1063 default proxy.hotRestart.drainStrategy: immediate to gradual. immediate stays available as an opt-in.

Why: on talos-main immediate made the #1054 stateless resets worse, not better: 4 / 8 / 0 per proxy roll (rev253) against 1–3 per whole 3-roll run under gradual. More parent connections close inside the drain window, and those closes are what the sources then see reset. The carried Envoy patches #1064 (child unpauses its UDP listeners only after the parent exits) and #1066 (draining parent answers its own time-wait connections) are the fix path under gradual; talos has run gradual via a deploy-time override since rev254.

Changes: values.yaml default and comment; chart tests (default renders gradual, new opt-in test renders immediate, the skip-parent-stats positional test follows the new last arg); runbook, soak README and harness comment. Chart 1.0.9 → 1.0.10.

Tests: bazel test //charts/aether/... 24/24.

Refs #1054

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

…1054)

immediate made the #1054 stateless resets worse on talos-main (4/8/0 per
roll vs 1-3 per 3-roll run under gradual): more parent connections close
inside the drain window. The carried Envoy patches (#1064, #1066) are the
fix under gradual; immediate stays an explicit opt-in. Chart 1.0.10.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit 37d2fe4 into main Sep 29, 2026
24 checks passed
@bpalermo
bpalermo deleted the fix/1054-drain-strategy-default-gradual branch September 29, 2026 16:52
bpalermo added a commit that referenced this pull request Sep 29, 2026
Brings #979 up to date with 36 commits of main (demand-scoped twins #1020/#1032,
fresh-stream classifier #1033/#1035, dormant-pair ledger #1036/#1038, per-twin
EDS names #1012/#1029, the twin certificate gate #1051, the ODCDS always-answer
override, --east-west-quic-idle-timeout #1063, L4 stat keys #1043, access-log
timing #1048, the identity gate #1055, hot-restart knobs #1068 and the carried
Envoy patches) while keeping #979's intent: no allow-list, every destination in
the node's dependency set is QUIC-eligible.

Resolution:
- cache: quicServices / SetEastWestQUICServices removed. armsFor gives arms to
  every default, identity-ready, non-waypointed entry whose service is in the
  dependency set (the same rule recordQUICPair admits by, so no route names a
  twin the agent would refuse); twins stay demand-scoped. The
  destination_not_quic_enabled refusal/prune reason is gone.
- quicpairs: the dependency-set prune now waits for the pod set like the
  source prune does -- the allow-list used to force its destinations into the
  set, and without it the first snapshot after an agent restart dropped every
  restored pair (TestQUICDemandPairSurvivesAgentRestart was red).
- fan-out log: allow_listed_services dropped; observed_pairs and
  awaiting_client_cert kept.
- chart 1.0.12: eastWestQuicServices removed, eastWestQuicIdleTimeout and its
  parentShutdownTime check kept.
- e2e/eastwest-quic.sh: main's demand-scoped E1/E4c/E6 + #979's QUIC_DNS_SANS
  negative control; h2only/E3 removed; E6 dials quic-a and its idgate-* pairs
  are excluded from the driven-pair count. eastwest-quic-hotrestart.sh's h2
  control is now the weighted GAMMA split (the one h2-by-design path).
- tests, runbook, soak README, configuration.md, 038 rewritten for the
  unconditional state.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant