Merge pull request #8742 from xiang90/debug_ordering

clientv3: fix balancer unresponsiveness
This commit is contained in:
Xiang Li 2017-10-23 21:57:33 -07:00 committed by GitHub
commit d16de1b914

View File

@ -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:
} }
} }