consul/agent/grpc-external/services/serverdiscovery
Derek Menteer eabff257d7
Various bug-fixes and improvements (#20866)
* Shuffle the list of servers returned by `pbserverdiscovery.WatchServers`.

This randomizes the list of servers to help reduce the chance of clients
all connecting to the same server simultaneously. Consul-dataplane is one
such client that does not randomize its own list of servers.

* Fix potential goroutine leak in xDS recv loop.

This commit ensures that the goroutine which receives xDS messages from
proxies will not block forever if the stream's context is cancelled but
the `processDelta()` function never consumes the message (due to being
terminated).

* Add changelog.
2024-03-15 13:10:48 -05:00
..
mock_ACLResolver.go xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
server.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
server_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
watch_servers.go Various bug-fixes and improvements (#20866) 2024-03-15 13:10:48 -05:00
watch_servers_test.go Various bug-fixes and improvements (#20866) 2024-03-15 13:10:48 -05:00