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

balancer: establish only one TCP connection with the same endpoint, … #3193

Closed
wants to merge 1 commit into from

Conversation

cfc4n
Copy link

@cfc4n cfc4n commented Nov 19, 2019

[fixed] #3192

@linux-foundation-easycla
Copy link

CLA Check
One or more committers are not authorized under a signed CLA as indicated below. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.

@cfc4n cfc4n changed the title balancer: enstablish only one TCP connection with the same endpoint, … balancer: establish only one TCP connection with the same endpoint, … Nov 19, 2019
@menghanl
Copy link
Contributor

It's a feature for the users to create multiple TCP connections to same endpoint, if that's what they want.
Multiple TCP connections are only created if the metadata field is set to different values.
It's user's responsibility to set metadata accordingly to control number of TCP connections.

I think the current behavior is correct, and this is the old balancer API, which is already deprecated. Please try the new balancer API (https://godoc.org/google.golang.org/grpc/balancer)

@menghanl menghanl closed this Nov 21, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
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

3 participants