diff --git a/src/main/java/org/tikv/common/region/StoreHealthyChecker.java b/src/main/java/org/tikv/common/region/StoreHealthyChecker.java index c9367b32ad..5db583b61e 100644 --- a/src/main/java/org/tikv/common/region/StoreHealthyChecker.java +++ b/src/main/java/org/tikv/common/region/StoreHealthyChecker.java @@ -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; } } @@ -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; } }