Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

registry/rpc: use simpleBalancer instead of ClientConn.State() #1677

Closed
wants to merge 1 commit into from

Conversation

dongsupark
Copy link
Contributor

This PR contains only the relevant code of #1673, without vendor updates.

As ClientConn.State() of gRPC has disappeared, we need to avoid using ClientConn.State(). Instead we should make use of gRPC rebalancer mechanism, just like etcdv3 is doing. To do that, introduce simpleBalancer, as a minimum structure to be used for grpc.Balancer.

/cc @hectorj2f

@hectorj2f
Copy link
Contributor

@dongsupark I'll have a look to the PRs and test them in my local cluster.

As ClientConn.State() of gRPC has disappeared, we need to avoid using
ClientConn.State(). Instead we should make use of gRPC rebalancer
mechanism, just like etcdv3 is doing. To do that, introduce
simpleBalancer, as a minimum structure to be used for grpc.Balancer.
@dongsupark
Copy link
Contributor Author

As it's just a part of #1673, I'll close.

@dongsupark dongsupark closed this Nov 24, 2016
@dongsupark dongsupark deleted the dongsu/grpc-balancer branch November 24, 2016 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants