Skip to content

Commit

Permalink
subconn init IDLE
Browse files Browse the repository at this point in the history
  • Loading branch information
menghanl committed Sep 14, 2021
1 parent 251cae9 commit fb8d1d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xds/internal/balancer/ringhash/ringhash.go
Expand Up @@ -219,6 +219,7 @@ func (b *ringhashBalancer) updateAddresses(addrs []resolver.Address) bool {
}
scs := &subConn{addr: a.Addr, sc: sc}
scs.setState(connectivity.Idle)
b.state = b.csEvltr.recordTransition(connectivity.Shutdown, connectivity.Idle)
b.subConns[aNoAttrs] = scs
b.scStates[sc] = scs
addrsUpdated = true
Expand Down

0 comments on commit fb8d1d7

Please sign in to comment.