consul/agent/hcp
hc-github-team-consul-core 3e3ab25f9b
xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004)
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

Co-authored-by: Dan Upton <daniel@floppy.co>
2023-01-19 10:34:01 +00:00
..
bootstrap add HCP integration component (#14723) 2022-09-26 14:58:15 -04:00
config adding configuration option cloud.scada_address (#14936) 2022-10-13 11:31:28 +02:00
discover add HCP integration component (#14723) 2022-09-26 14:58:15 -04:00
scada xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
testserver add HCP integration component (#14723) 2022-09-26 14:58:15 -04:00
client.go Backport of Update go version to 1.19 into release/1.14.x (#15139) 2022-10-24 16:12:42 -04:00
deps.go add HCP integration component (#14723) 2022-09-26 14:58:15 -04:00
manager.go add HCP integration component (#14723) 2022-09-26 14:58:15 -04:00
manager_test.go add HCP integration component (#14723) 2022-09-26 14:58:15 -04:00
mock_Client.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
testing.go add HCP integration component (#14723) 2022-09-26 14:58:15 -04:00