-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
etcdclient: leases keep alive halted: etcdserver: request timed out #8618
Comments
Means etcdserver is not responding? And why not just retry in for-loop? |
No. I mean the etcdserver returns the |
What is |
It is fixed in the master branch. |
I want to use the interface of
NewSession
in clientv3 to new a session. But I encountered a problem in the certain case.The result of
NewSession
always failed and reported "etcdclient: leases keep alive halted: etcdserver: request timed out".I think it's because the etcd server occurs an ErrTimeout, the log content is "[warning] etcdserver: [timed out waiting for read index response]". Then it makes the client's channel of
donec
closed in recvKeepaliveLoop function. And makes the execution result fail.I think it's unreasonable. In my opinion, handle it in one way that closes the client when the keepalive is halted, or another way that provides an interface which can restart the recvKeepaliveLoop.
The text was updated successfully, but these errors were encountered: