open-consul/agent/xds
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
..
accesslogs copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
config Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
extensionruntime [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
testcommon copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
testdata Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
validateupstream-test Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
clusters.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
clusters_test.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
delta.go Backport of Fix xDS missing endpoint race condition. into release/1.16.x (#19873) 2023-12-08 12:16:43 -06:00
delta_envoy_extender_ce_test.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
delta_envoy_extender_test.go Backport of ext-authz Envoy extension: support `localhost` as a valid target URI. into release/1.16.x (#17837) 2023-06-21 21:00:02 +00:00
delta_test.go Backport of Fix xDS missing endpoint race condition. into release/1.16.x (#19873) 2023-12-08 12:16:43 -06:00
endpoints.go Backport of Add extra logging for mesh health endpoints. into release/1.16.x (#18648) 2023-09-01 17:44:37 +00:00
endpoints_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
failover_policy.go Add Upstream Service Targeting to Property Override Extension (#17517) 2023-05-30 14:53:42 -04:00
failover_policy_ce.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
golden_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
jwt_authn.go Backport of Use JWT-auth filter in metadata mode & Delegate validation to RBAC filter into release/1.16.x (#18153) 2023-07-17 15:50:21 +00:00
jwt_authn_test.go Backport of Use JWT-auth filter in metadata mode & Delegate validation to RBAC filter into release/1.16.x (#18153) 2023-07-17 15:50:21 +00:00
listeners.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
listeners_apigateway.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
listeners_ingress.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
listeners_test.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
naming.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
net_fallback.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
net_linux.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
protocol_trace.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
rbac.go Backport of Use JWT-auth filter in metadata mode & Delegate validation to RBAC filter into release/1.16.x (#18153) 2023-07-17 15:50:21 +00:00
rbac_test.go Backport of Use JWT-auth filter in metadata mode & Delegate validation to RBAC filter into release/1.16.x (#18153) 2023-07-17 15:50:21 +00:00
resources.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
resources_ce_test.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
resources_test.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
response.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
routes.go Backport of: Fix ClusterLoadAssignment timeouts dropping endpoints. into 1.16 (#19885) 2023-12-11 10:31:59 -06:00
routes_test.go NET-5457 Support multiple virtual hosts for a single API gateway listener (#19120) 2023-10-10 14:21:25 -04:00
secrets.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
server.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
server_ce.go [BACKPORT] 1.16.x manual backport of OSS->CE branch (#18549) 2023-08-23 11:53:44 -05:00
testing.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
xds.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00
xds_protocol_helpers_test.go Backport of Explicitly enable WebSocket upgrades into release/1.16.x (#18211) 2023-07-20 14:57:13 -07:00
z_xds_packages.go Various bits of cleanup detected when using Go Workspaces (#17462) 2023-06-05 16:08:39 -04:00
z_xds_packages_test.go copyright headers for agent folder (#16704) 2023-03-28 14:39:22 -04:00