sumitagrawl commented on PR #9351: URL: https://github.com/apache/ozone/pull/9351#issuecomment-3585861278
> setting up nextHB would not interrupt the current sleep cycle and would not have any effect to the thread that is sending HB. The right way of explicitly sending HB is to interrupt the HB thread and there is a method that does that. Can we interrupt from the same thread which is going to sleep later on? Not possible and can be done by other thread. Since there is no other thread, so controlling sleep is the better way. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
