consul/agent/grpc-external
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
..
limiter [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
services Various bug-fixes and improvements (#20866) 2024-03-15 13:10:48 -05:00
testutils NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
forward.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
options.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
options_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
querymeta.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
querymeta_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server.go missing prefix / (#20447) 2024-02-02 12:48:45 -08:00
stats_test.go only forwarding the resource service traffic in client agent to server agent (#20347) 2024-01-31 12:05:47 -08:00
utils.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30