Skip to content
New issue

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

grpclb: cache requestConnection if no subchannel created #7434

Merged
merged 1 commit into from Sep 16, 2020

Conversation

dapengzhang0
Copy link
Member

@dapengzhang0 dapengzhang0 commented Sep 16, 2020

An issue was found during CBT RLS client testing: The RLS lb creates grplb child balancer, calls grpclb.handleResolvedAddress() then immediately calls grpclb.requestConnection(). The subchannel in GrpclbState.currentPicker.pickList contains only GrpclbState.BUFFER_ENTRY at the moment grpclb.requestConnection() is called, and therefore the requestConnection() is no-op, and RPC is hanging.

@dapengzhang0 dapengzhang0 merged commit 3abdb28 into grpc:master Sep 16, 2020
@dapengzhang0 dapengzhang0 deleted the grpclb-request-connection branch September 16, 2020 23:48
@zhangkun83
Copy link
Contributor

Filed #7435

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants