consul/agent/cache
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
..
cache.go cache: prevent goroutine leak in agent cache (#14908) 2022-10-17 14:38:10 -05:00
cache_test.go cache: prevent goroutine leak in agent cache (#14908) 2022-10-17 14:38:10 -05:00
entry.go lib/ttlcache: extract package from agent/cache 2020-10-20 19:10:20 -04:00
mock_Request.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
mock_Type.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
request.go Backport of Update go version to 1.19 into release/1.14.x (#15139) 2022-10-24 16:12:42 -04:00
testing.go test: update mockery use to put mocks into test files (#13656) 2022-07-05 16:57:15 -05:00
type.go Backport of Update go version to 1.19 into release/1.14.x (#15139) 2022-10-24 16:12:42 -04:00
watch.go Backport of Fix agent cache incorrectly notifying unchanged protobufs. into release/1.14.x (#15888) 2023-01-03 16:24:04 +00:00
watch_test.go Backport of Fix agent cache incorrectly notifying unchanged protobufs. into release/1.14.x (#15888) 2023-01-03 16:24:04 +00:00