-
Notifications
You must be signed in to change notification settings - Fork 314
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
Exceptions of lease keepAlive can be perceived #1322
Comments
tunefun
pushed a commit
to tunefun/jetcd
that referenced
this issue
Mar 4, 2024
tunefun
added a commit
to tunefun/jetcd
that referenced
this issue
Mar 4, 2024
Fixes etcd-io#1322 Signed-off-by: tunefun <965728225@qq.com>
tunefun
added a commit
to tunefun/jetcd
that referenced
this issue
Mar 5, 2024
Fixes etcd-io#1322 Signed-off-by: tunefun <965728225@qq.com>
lburgazzoli
pushed a commit
that referenced
this issue
Mar 5, 2024
Fixes #1322 Signed-off-by: tunefun <965728225@qq.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Here is the keepAlive method:
public synchronized CloseableClient keepAlive(long leaseId, StreamObserver<LeaseKeepAliveResponse> observer)
When some exceptions happened, such as connection failed, keekAlive will automatically restart, but there are no logs or callbacks, if deadline comes before fault recovery,
onCompleted
method ofStreamObserver
will be called, but we don't know what happened.Describe the solution you'd like
I'd like
onError
method ofStreamObserver
should be called when some exceptions happened in lease keepAliveThe text was updated successfully, but these errors were encountered: