You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/11/03 07:48:08 UTC
[iotdb] branch rel/0.12 updated: [ISSUE-4293] SessionPool:
InterruptedException is not properly handled in synchronized wait() (#4294)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new 104603d [ISSUE-4293] SessionPool: InterruptedException is not properly handled in synchronized wait() (#4294)
104603d is described below
commit 104603d9e81111b525e3515a3a3528dec77eb1b9
Author: Steve Yurong Su <ro...@apache.org>
AuthorDate: Wed Nov 3 15:47:42 2021 +0800
[ISSUE-4293] SessionPool: InterruptedException is not properly handled in synchronized wait() (#4294)
---
session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java b/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
index 3afdbe7..98b70c8 100644
--- a/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
+++ b/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
@@ -238,8 +238,7 @@ public class SessionPool {
}
}
} catch (InterruptedException e) {
- logger.error("the SessionPool is damaged", e);
- Thread.currentThread().interrupt();
+ // wake up from this.wait(1000) by this.notify()
}
session = queue.poll();