open-consul/agent/proxycfg
Derek Menteer 609762077f
Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885)
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.
2023-12-11 10:31:59 -06:00
..
internal/watch copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
api_gateway.go Backport of NET-5049: subscribe to bound-api-gateway only after receiving api-gateway into release/1.16.x (#18295) 2023-07-26 20:18:00 +00:00
connect_proxy.go Backport of agent: remove agent cache dependency from service mesh leaf certificate management into release/1.16.x (#17704) 2023-06-13 16:12:43 +00:00
data_sources.go Backport of agent: remove agent cache dependency from service mesh leaf certificate management into release/1.16.x (#17704) 2023-06-13 16:12:43 +00:00
data_sources_ce.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
deep-copy.sh copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
ingress_gateway.go Backport of [OSS] Fix initial_fetch_timeout to wait for all xDS resources into release/1.16.x (#18065) 2023-07-10 21:27:56 +00:00
manager.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
manager_test.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.16.x (#19858) 2023-12-07 15:37:52 -05:00
mesh_gateway.go Backport of agent: remove agent cache dependency from service mesh leaf certificate management into release/1.16.x (#17704) 2023-06-13 16:12:43 +00:00
mesh_gateway_ce.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
naming.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
naming_ce.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
naming_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
proxycfg.deepcopy.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
proxycfg.go docs: add envoy to the proxycfg diagram (#16834) 2023-04-04 09:42:42 -04:00
snapshot.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
snapshot_test.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
state.go Backport of [OSS] Fix initial_fetch_timeout to wait for all xDS resources into release/1.16.x (#18065) 2023-07-10 21:27:56 +00:00
state_ce_test.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
state_test.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
terminating_gateway.go Backport of Allow connections through Terminating Gateways from peered clusters NET-3463 into release/1.16.x (#19092) 2023-10-05 22:38:57 +00:00
testing.go Backport of agent: remove agent cache dependency from service mesh leaf certificate management into release/1.16.x (#17704) 2023-06-13 16:12:43 +00:00
testing_api_gateway.go Backport of [OSS] Fix initial_fetch_timeout to wait for all xDS resources into release/1.16.x (#18065) 2023-07-10 21:27:56 +00:00
testing_ce.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
testing_connect_proxy.go Rename hcp-metrics-collector to consul-telemetry-collector (#17327) 2023-05-16 14:36:05 -04:00
testing_ingress_gateway.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
testing_mesh_gateway.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.16.x (#19858) 2023-12-07 15:37:52 -05:00
testing_peering.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
testing_terminating_gateway.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
testing_tproxy.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
testing_upstreams.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.16.x (#19858) 2023-12-07 15:37:52 -05:00
testing_upstreams_ce.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
upstreams.go Backport of Add extra logging for mesh health endpoints. into release/1.16.x (#18648) 2023-09-01 17:44:37 +00:00