consul/agent/proxycfg
Derek Menteer 212485578c
Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884)
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:02:33 -06:00
..
internal/watch [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
api_gateway.go Add the plumbing for APIGW JWT work (#18609) 2023-08-31 12:23:59 -04:00
api_gateway_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_snapshot_glue.go Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
config_snapshot_glue_test.go Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
connect_proxy.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
data_sources.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
data_sources_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
deep-copy.sh [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ingress_gateway.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
manager.go Watch the ProxyTracker from xDS controller (#18611) 2023-08-29 14:39:29 -07:00
manager_test.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.17.x (#19859) 2023-12-07 15:35:26 -05:00
mesh_gateway.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
mesh_gateway_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
naming.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
naming_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
naming_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
proxycfg.deepcopy.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
proxycfg.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
snapshot_test.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
state.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
state_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
state_test.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
terminating_gateway.go Allow connections through Terminating Gateways from peered clusters NET-3463 (#18959) 2023-10-05 21:54:23 +00:00
testing.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_api_gateway.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
testing_connect_proxy.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_ingress_gateway.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
testing_mesh_gateway.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.17.x (#19859) 2023-12-07 15:35:26 -05:00
testing_peering.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
testing_terminating_gateway.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
testing_tproxy.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.17 (#19884) 2023-12-11 10:02:33 -06:00
testing_upstreams.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.17.x (#19859) 2023-12-07 15:35:26 -05:00
testing_upstreams_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
upstreams.go Add extra logging for mesh health endpoints. (#18647) 2023-09-01 12:29:09 -05:00