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 48b3143 commit 065ad18Copy full SHA for 065ad18
src/com/xxdb/DBConnection.java
@@ -1035,8 +1035,10 @@ public void switchDataNode(Node node) throws IOException{
1035
}
1036
} while (!closed_ && (tryReconnectNums == -1 || attempt < tryReconnectNums));
1037
1038
- if (!closed_ && !isConnected)
+ if (!closed_ && !isConnected) {
1039
+ log.error("Connect to " + node.hostName + ":" + node.port + " failed after " + attempt + " reconnect attempts.");
1040
throw new RuntimeException("Connect to " + node.hostName + ":" + node.port + " failed after " + attempt + " reconnect attempts.");
1041
+ }
1042
1043
if (initialScript_!=null && initialScript_.length() > 0){
1044
run(initialScript_);
0 commit comments