Apache9 commented on pull request #2399: URL: https://github.com/apache/hbase/pull/2399#issuecomment-692591192
And while reading the current code of master, the loop in the startup method does not have a sleep? And yes the retryStartup flag has to be AtomicBoolean as it will be set in another thread, though it is only used in the startup method... And now, seems we will block in the startup method forever? I think a better solution is to do the retry in the initThread so we will not block the startup call? I think the reason we use a initThread is to avoid blocking the startup call, if this is not the case, why not just move the initialize call into the startup method... 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. For queries about this service, please contact Infrastructure at: [email protected]
