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 d723880 commit 70006dfCopy full SHA for 70006df
iotdb-client/session/src/main/java/org/apache/iotdb/session/SessionConnection.java
@@ -1109,7 +1109,13 @@ protected void withRetry(TFunction<TSStatus> function)
1109
try {
1110
TimeUnit.MILLISECONDS.sleep(retryIntervalInMs);
1111
} catch (InterruptedException e) {
1112
- // just ignore
+ Thread.currentThread().interrupt();
1113
+ logger.warn(
1114
+ "Thread {} was interrupted during retry {} with wait time {} ms. Exiting retry loop.",
1115
+ Thread.currentThread().getName(),
1116
+ i,
1117
+ retryIntervalInMs);
1118
+ break;
1119
}
1120
if (!reconnect()) {
1121
// reconnect failed, just continue to make another retry.
0 commit comments