consul/agent/proxycfg
Derek Menteer dfab5ade50
Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871)
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 09:25:11 -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 add DeliverLatest as common function for use by Manager and ProxyTracker Open (#19564) 2023-11-07 23:03:37 +00:00
manager_test.go parse config protocol on write to optimize disco-chain compilation (#19829) 2023-12-07 13:46:46 -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 Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
proxycfg.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
snapshot_test.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -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 Migrate individual resource tests for Ingress Gateway to TestAllResourcesFromSnapshot (#19506) 2023-11-09 16:08:07 +00:00
testing_mesh_gateway.go parse config protocol on write to optimize disco-chain compilation (#19829) 2023-12-07 13:46:46 -05:00
testing_peering.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
testing_terminating_gateway.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
testing_tproxy.go Fix ClusterLoadAssignment timeouts dropping endpoints. (#19871) 2023-12-11 09:25:11 -06:00
testing_upstreams.go parse config protocol on write to optimize disco-chain compilation (#19829) 2023-12-07 13:46:46 -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