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

clientv3: let etcd client use all available keepalive ClientParams #10146

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

spzala
Copy link
Member

@spzala spzala commented Oct 2, 2018

We should allow etcd client use all of the available keepalive
client parameters as documented in this link,
https://godoc.org/google.golang.org/grpc/keepalive#ClientParameters
Currently in the etcd, by default PermitWithoutStream is set to
false, and user has no way to override it.
On the server side, we explicitely setting EnforcementPolicy
PermitWithoutStream to false and don't provide option to override it
to user but on the client side we should allow this option as
provided by the grpc.

@spzala
Copy link
Member Author

spzala commented Oct 2, 2018

/cc @gyuho @xiang90

@gyuho
Copy link
Contributor

gyuho commented Oct 2, 2018

@spzala Could you also update changelog? Thanks!

@spzala
Copy link
Member Author

spzala commented Oct 2, 2018

@gyuho, hi, thanks! Sure, should I update a particular one i.e. changlog-3.4? I was thinking to update here https://github.com/etcd-io/etcd/blob/master/CHANGELOG-3.4.md#client-v3 but thought let me make sure with you first. Thanks!

@gyuho
Copy link
Contributor

gyuho commented Oct 2, 2018

@spzala Yes, we should update v3.4 changelog.

We should allow etcd client use all of the available keepalive
client parameters as documented in this link,
https://godoc.org/google.golang.org/grpc/keepalive#ClientParameters
Currently in the etcd, by default PermitWithoutStream is set to
false, and user has no way to override it.
On the server side, we explicitely setting EnforcementPolicy
PermitWithoutStream to false and don't provide option to override it
to user but on the client side we should allow this option as
provided by the grpc.
@spzala spzala force-pushed the clientpermitwithoutstream branch from c800883 to f6f3751 Compare October 2, 2018 20:00
@spzala
Copy link
Member Author

spzala commented Oct 2, 2018

@gyuho thanks!! Updated it.

@gyuho gyuho merged commit 1d1f509 into etcd-io:master Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants