Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of [NET-6459] Fix issue with wanfed lan ip conflicts. into release/1.15.x #19521

Conversation

hc-github-team-consul-core
Copy link
Contributor

Backport

This PR is auto-generated from #19503 to be assessed for backporting due to the inclusion of the label backport/1.15.

The below text is copied from the body of the original PR.


Prior to this commit, the connection pools were unaware which datacenter the connection was associated with. This meant that any time servers with overlapping LAN IP addresses and node shortnames existed, they would be incorrectly co-located in the same pool. Whenever this occurred, the servers would get stuck in an infinite loop of forwarding RPCs to themselves (rather than the intended remote DC) until they eventually run out of memory.

Most notably, this issue can occur whenever wan federation through mesh gateways is enabled.

This fix adds extra metadata to specify which DC the connection is associated with in the pool.


Overview of commits

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit 502a425 into release/1.15.x Nov 6, 2023
86 checks passed
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/derekm/NET-6459/wanfed-oom/needlessly-premium-sculpin branch November 6, 2023 14:58
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.

3 participants