We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a06a5c commit 6c957a4Copy full SHA for 6c957a4
src/main/java/com/actiontech/dble/backend/datasource/PhysicalDatasource.java
@@ -572,7 +572,7 @@ public DBHostConfig getConfig() {
572
}
573
574
public boolean isAlive() {
575
- return !disabled.get() && (heartbeat.isHeartBeatOK() || (heartbeat.isStop() && testConnSuccess));
+ return !disabled.get() && ((heartbeat.getStatus() == MySQLHeartbeat.INIT_STATUS && testConnSuccess) || heartbeat.isHeartBeatOK());
576
577
578
0 commit comments