consul/agent/grpc-external/services/peerstream
Dan Upton 7a55de375c
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
..
health_snapshot.go Remove duplicate comment 2022-07-26 10:19:49 -07:00
health_snapshot_test.go Use Node Name for peering healthSnapshot instead of ID (#13773) 2022-07-15 10:51:38 -04:00
mock_ACLResolver.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
replication.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
server.go Share mgw addrs in peering stream if needed 2022-10-03 11:42:20 -06:00
server_test.go Use proto message for each secrets write op 2022-08-08 01:41:00 -06:00
stream_resources.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
stream_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
stream_tracker.go convert stream status time fields to pointers (#15252) 2022-11-03 11:51:22 -07:00
stream_tracker_test.go convert stream status time fields to pointers (#15252) 2022-11-03 11:51:22 -07:00
subscription_blocking.go Fix incorrect backoff-wait logic. 2022-10-12 08:01:10 -05:00
subscription_manager.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
subscription_manager_test.go peering: better represent non-passing states during peer check flattening (#15615) 2022-11-30 11:29:21 -06:00
subscription_state.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
subscription_state_test.go Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
subscription_view.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
subscription_view_test.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
testing.go Add exported services event to cluster peering replication. (#14797) 2022-09-29 15:37:19 -04:00