mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 05:23:04 +00:00
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.
8 lines
195 B
Plaintext
8 lines
195 B
Plaintext
```release-note:improvement
|
|
api: Randomize the returned server list for the WatchServers gRPC endpoint.
|
|
```
|
|
|
|
```release-note:bug
|
|
connect: Fix potential goroutine leak in xDS stream handling.
|
|
```
|