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 1.9.x: xds: prefer fed state gateway definitions if they're fresher #11532

Merged
merged 1 commit into from
Nov 9, 2021

Commits on Nov 9, 2021

  1. xds: prefer fed state gateway definitions if they're fresher (#11522)

    Fixes an issue described in #10132, where if two DCs are WAN federated
    over mesh gateways, and the gateway in the non-primary DC is terminated
    and receives a new IP address (as is commonly the case when running them
    on ephemeral compute instances) the primary DC is unable to re-establish
    its connection until the agent running on its own gateway is restarted.
    
    This was happening because we always preferred gateways discovered by
    the `Internal.ServiceDump` RPC (which would fail because there's no way
    to dial the remote DC) over those discovered in the federation state,
    which is replicated as long as the primary DC's gateway is reachable.
    boxofrad committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    a36fc6d View commit details
    Browse the repository at this point in the history