mirror of https://github.com/hashicorp/consul
212485578c
Fix ClusterLoadAssignment timeouts dropping endpoints. When a large number of upstreams are configured on a single envoy proxy, there was a chance that it would timeout when waiting for ClusterLoadAssignments. While this doesn't always immediately cause issues, consul-dataplane instances appear to consistently drop endpoints from their configurations after an xDS connection is re-established (the server dies, random disconnect, etc). This commit adds an `xds_fetch_timeout_ms` config to service registrations so that users can set the value higher for large instances that have many upstreams. The timeout can be disabled by setting a value of `0`. This configuration was introduced to reduce the risk of causing a breaking change for users if there is ever a scenario where endpoints would never be received. Rather than just always blocking indefinitely or for a significantly longer period of time, this config will affect only the service instance associated with it. |
||
---|---|---|
.. | ||
api-gateway-with-http-route-and-inline-certificate.latest.golden | ||
api-gateway-with-http-route-timeoutfilter-one-set.latest.golden | ||
api-gateway-with-http-route.latest.golden | ||
api-gateway-with-multiple-inline-certificates.latest.golden | ||
api-gateway-with-tcp-route-and-inline-certificate.latest.golden | ||
connect-proxy-exported-to-peers.latest.golden | ||
connect-proxy-with-chain-and-failover-to-cluster-peer.latest.golden | ||
connect-proxy-with-chain-and-redirect-to-cluster-peer.latest.golden | ||
connect-proxy-with-peered-upstreams-escape-overrides.latest.golden | ||
connect-proxy-with-peered-upstreams-http2.latest.golden | ||
connect-proxy-with-peered-upstreams-listener-override.latest.golden | ||
connect-proxy-with-peered-upstreams.latest.golden | ||
defaults.latest.golden | ||
local-mesh-gateway-with-peered-upstreams.latest.golden | ||
mesh-gateway-peering-control-plane.latest.golden | ||
mesh-gateway-with-exported-peered-services-http-with-router.latest.golden | ||
mesh-gateway-with-exported-peered-services-http.latest.golden | ||
mesh-gateway-with-exported-peered-services.latest.golden | ||
mesh-gateway-with-imported-peered-services.latest.golden | ||
mesh-gateway-with-peer-through-mesh-gateway-enabled.latest.golden | ||
telemetry-collector.latest.golden | ||
transparent-proxy-destination-http.latest.golden | ||
transparent-proxy-destination.latest.golden | ||
transparent-proxy-terminating-gateway-destinations-only.latest.golden | ||
transparent-proxy-with-peered-upstreams.latest.golden | ||
transparent-proxy.latest.golden | ||
xds-fetch-timeout-ms-ingress-with-router.latest.golden | ||
xds-fetch-timeout-ms-mgw-peering.latest.golden | ||
xds-fetch-timeout-ms-sidecar.latest.golden | ||
xds-fetch-timeout-ms-term-gw.latest.golden | ||
xds-fetch-timeout-ms-tproxy-http-peering.latest.golden | ||
xds-fetch-timeout-ms-tproxy-passthrough.latest.golden |