mirror of https://github.com/hashicorp/consul
eabff257d7
* 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. |
||
---|---|---|
.. | ||
limiter | ||
services | ||
testutils | ||
forward.go | ||
options.go | ||
options_test.go | ||
querymeta.go | ||
querymeta_test.go | ||
server.go | ||
stats_test.go | ||
utils.go |