lordcheng10 commented on a change in pull request #2947:
URL: https://github.com/apache/bookkeeper/pull/2947#discussion_r773710130
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java
##########
@@ -614,7 +614,19 @@ public void safeRun() {
}
}
- void checkForFaultyBookies() {
+ void checkForFaultyBookies() {
+ boolean isEnable = true;
+ try {
+ isEnable = metadataDriver.isEnableHealthCheck().get();
+ } catch (Exception e) {
+ LOG.error("call method isEnableHealthCheck failed!", e);
Review comment:
like this? @nicoloboschi
LOG.error("metadataDriver.isEnableHealthCheck() failed,isEnable is treated
as true !", e);
--
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]