mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #8742 from xiang90/debug_ordering
clientv3: fix balancer unresponsiveness
This commit is contained in:
commit
d16de1b914
@ -168,7 +168,7 @@ func (b *simpleBalancer) updateAddrs(eps ...string) {
|
|||||||
|
|
||||||
if update {
|
if update {
|
||||||
select {
|
select {
|
||||||
case b.updateAddrsC <- notifyReset:
|
case b.updateAddrsC <- notifyNext:
|
||||||
case <-b.stopc:
|
case <-b.stopc:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user