open-consul/agent/xds
Dan Upton 618deae657
xds: don't attempt to load-balance sessions for local proxies (#15789)
Previously, we'd begin a session with the xDS concurrency limiter
regardless of whether the proxy was registered in the catalog or in
the server's local agent state.

This caused problems for users who run `consul connect envoy` directly
against a server rather than a client agent, as the server's locally
registered proxies wouldn't be included in the limiter's capacity.

Now, the `ConfigSource` is responsible for beginning the session and we
only do so for services in the catalog.

Fixes: https://github.com/hashicorp/consul/issues/15753
2023-01-18 12:33:21 -06:00
..
accesslogs [OSS] feat: access logs for listeners and listener filters (#15864) 2022-12-22 15:18:15 -05:00
builtinextensions Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
builtinextensiontemplate Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
proxysupport Enhancement: Consul Compatibility Checking (#15818) 2022-12-20 09:58:19 -08:00
testdata Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05:00
xdscommon Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
builtin_extension_oss_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
clusters.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
clusters_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
config.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
config_test.go Add support for configuring Envoys route idle_timeout (#14340) 2022-11-29 17:43:15 -05:00
delta.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
delta_test.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
endpoints.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
endpoints_test.go ingress-gateways: don't log error when registering gateway (#15001) 2022-10-25 10:55:44 -07:00
envoy_versioning.go Enhancement: Consul Compatibility Checking (#15818) 2022-12-20 09:58:19 -08:00
envoy_versioning_test.go Enhancement: Consul Compatibility Checking (#15818) 2022-12-20 09:58:19 -08:00
extensions.go Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05:00
failover_math.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
failover_math_test.go Cluster peering failover disco chain changes (#14296) 2022-08-23 09:13:43 -04:00
golden_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
listeners.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
listeners_ingress.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
listeners_test.go [OSS] feat: access logs for listeners and listener filters (#15864) 2022-12-22 15:18:15 -05:00
naming.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
net_fallback.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
net_linux.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
protocol_trace.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
rbac.go Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05:00
rbac_test.go Add the Lua Envoy extension (#15906) 2023-01-06 12:13:40 -05:00
resources.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
resources_oss_test.go xds: begin refactor to always pass test snapshots through all xDS types (#13461) 2022-06-15 14:58:28 -05:00
resources_test.go feat: xDS updates for peerings control plane through mesh gw 2022-10-07 08:46:42 -06:00
response.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
routes.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
routes_test.go ingress-gateways: don't log error when registering gateway (#15001) 2022-10-25 10:55:44 -07:00
server.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
server_oss.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
testing.go xds: fix for delta xDS reconnect bug in LDS/CDS (#12174) 2022-01-25 11:24:27 -06:00
xds.go Remove unused customEDSClusterJSON 2020-03-27 15:38:16 -04:00
xds_protocol_helpers_test.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
z_xds_packages.go Add connection limit setting to service defaults 2022-05-24 10:13:38 -07:00
z_xds_packages_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00