-
Notifications
You must be signed in to change notification settings - Fork 9
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
etcd cluster with a learner is not supported #26
Comments
The workaround for now is to remove the learner from the |
This did not work during our tests. Health check will still request all members in cluster regardless of what |
Thanks for raising this issue. Learner members can only serve statusRequest and serializable read requests. Refer to util.go#L141-L150 So the solution is to programmatically remove learner members from the endpoint list. Would you be interested in delivering a PR? |
Sure, i’ll take care of it. |
Thanks. Assigned to you. |
Will release a new version today. |
FYI. https://github.com/ahrtr/etcd-defrag/releases/tag/v0.7.0
|
Currently, we tried to use etcd-defrag to implement defragmentations on our etcd clusters, and we found it failed quickly due to that the learner node in cluster did not support health check.
Here is the execution log:
So is this an ongoing issue?
The text was updated successfully, but these errors were encountered: