Apache9 commented on PR #5837: URL: https://github.com/apache/hbase/pull/5837#issuecomment-2071575451
You can see how we implement timeout in AsyncRpcConnectionImpl... There is a timer, when we reach timeout, the timer task will call completeExceptionally method of the CompletableFuture, so the upper layer will get a timeout exception. So for rpc based connection registry, we could set the operation timeout while doing the request, and for zk based, we should introduce a timer to do this work. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
