We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sc.UpdateAddress() closes the addrConn. So if it's called later with an non-empty list, the connection will not recover.
sc.UpdateAddress()
grpc-go/balancer_conn_wrappers.go
Lines 245 to 248 in 36d8757
The text was updated successfully, but these errors were encountered:
This isn't a big problem for pick-first because zero address is an error:
grpc-go/pickfirst.go
Lines 66 to 69 in 36d8757
But other balancers (e.g. grpclb) will fail (grpclb fixed in #4879)
Sorry, something went wrong.
Current code puts the subConn in IDLE if it is updated with an empty address list, which seems the right thing to do.
IDLE
Also, UpdateAddresses is now marked deprecated and will soon be deleted.
UpdateAddresses
No branches or pull requests
sc.UpdateAddress()
closes the addrConn. So if it's called later with an non-empty list, the connection will not recover.grpc-go/balancer_conn_wrappers.go
Lines 245 to 248 in 36d8757
The text was updated successfully, but these errors were encountered: