Skip to content

Commit

Permalink
add address
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed May 24, 2023
1 parent fdb65ba commit b210473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/tikv/common/region/StoreHealthyChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private boolean checkTiFlashHealth(String addressStr) {
stub.getChannel(), TikvGrpc.getIsAliveMethod(), stub.getCallOptions(), factory.get());
return resp != null && resp.getAvailable();
} catch (Exception e) {
logger.warn("fail to check TiFlash health, regrade as unhealthy", e);
logger.warn("fail to check TiFlash health, regrade as unhealthy. TiFlash address: " + addressStr, e);
return false;
}
}
Expand All @@ -114,7 +114,7 @@ private boolean checkTiKVHealth(String addressStr) {
HealthCheckResponse resp = stub.check(req);
return resp.getStatus() == HealthCheckResponse.ServingStatus.SERVING;
} catch (Exception e) {
logger.warn("fail to check TiKV health, regrade as unhealthy", e);
logger.warn("fail to check TiKV health, regrade as unhealthy. TiKV address: " + addressStr, e);
return false;
}
}
Expand Down

0 comments on commit b210473

Please sign in to comment.