Repository navigation
proxy: carry envoyproxy/envoy#47743 (UDP hot-restart forwarding by listener address + netns) on the 726d7ac pin - #970
Merged
Conversation
…stener address + netns) as a patch on the 726d7ac pin
aether#967: during a hot restart the parent forwards datagrams of unknown UDP
sessions to the child keyed only by ip:port, so N per-netns capture listeners
on 0.0.0.0:18082 collapse onto the first-registered one in the child (wrong
udp_proxy instance, reply from the wrong pod netns). Upstream fix e92e96dc7a
(on top of exactly our pin) forwards the listener's bind address + network
namespace and keys the child's registry on both, keeping the old destination
lookup for parents that predate the fields.
Applied as single_version_override(patches) on the registry module; the
source-only hunks (connection_handler.h, hot_restart.proto,
hot_restarting_{parent,child}.{h,cc}, active_udp_listener.cc,
active_quic_listener.cc), test/docs/changelog dropped. `git apply --check`
clean at 726d7ac; `bazel build --nobuild --config=release //:envoy` fetches
the patched module (hot_restart.proto carries listener_addr = 6 and
network_namespace = 7). Drop the override at the next pin that contains the
merged PR.
Validation on talos-main (two proxy rolls, per the plan on #967): roll 1 is
unpatched parent -> patched child (control: old destination-based lookup, same
loss as today); roll 2 is patched -> patched. E1 predicts the loss stays the
same either way (the datagrams were held on the right listener, not
misdelivered), so the expected result is "no regression, no effect" for the
forwarding registry and the timing evidence decides fix B.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
force-pushed
the
proxy/carry-envoy-47743
branch
from
September 26, 2026 22:59
e9cfa13 to
bf5de86
Compare
This was referenced Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Carries the upstream fix for the namespace-blind UDP hot-restart forwarding registry (envoyproxy/envoy#47742 / PR #47743, single commit e92e96dc7a on top of exactly our pin) as a
single_version_override(patches = [...])on the registry module, so it can be validated on talos-main before it merges upstream. Context: #967.What
proxy/bazel/patches/envoy-47743-udp-hot-restart-forwarding-netns.patch: the source-only hunks of the PR diff (envoy/network/connection_handler.h,source/server/hot_restart.proto,hot_restarting_{parent,child}.{h,cc},active_udp_listener.cc,source/common/quic/active_quic_listener.cc); test, docs and changelog hunks dropped.git apply --checkclean at 726d7ac.proxy/MODULE.bazel: the override, with the drop condition (the next pin that contains the merged PR).proxy/README.md"Customizing" lists the carried patch.bazel build --nobuild --config=release //:envoyfetches the patched module: the fetchedhot_restart.protocarrieslistener_addr = 6andnetwork_namespace = 7.Validation plan on talos-main (two proxy DaemonSet rolls after the chart pin lands)
faildelta, the dialer'scapture_udp_udp-dialer-*counters across the overlap, and the E3 signature (anycapture_udp_*prefix other than the dialer's showing sessions during the roll).🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr