consul/proto-public/pbdns
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
..
dns.pb.binary.go Generate protobufs 2022-09-29 21:16:23 -07:00
dns.pb.go Update hcp-scada-provider to fix diamond dependency problem with go-msgpack (#15185) (#15277) 2022-11-07 12:09:18 -05:00
dns.proto Adding DNS proxy proto 2022-09-29 21:14:16 -07:00
dns_grpc.pb.go Generate protobufs 2022-09-29 21:16:23 -07:00
mock_DNSServiceClient.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
mock_DNSServiceServer.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00
mock_UnsafeDNSServiceServer.go xds: don't attempt to load-balance sessions for local proxies (#15789) (#16004) 2023-01-19 10:34:01 +00:00