You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2021/07/28 09:44:42 UTC
[iotdb] 01/01: shutdown FLUSH_BUFFER_THREAD_POOL
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch fix_flush_buffer_thread_not_close_0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 6f400518c70dc3b48ced2e0bc9b62c14430c471a
Author: qiaojialin <64...@qq.com>
AuthorDate: Wed Jul 28 17:44:02 2021 +0800
shutdown FLUSH_BUFFER_THREAD_POOL
---
.../java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java b/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
index e982c77..b1a4ca2 100644
--- a/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
+++ b/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
@@ -210,6 +210,7 @@ public class ExclusiveWriteLogNode implements WriteLogNode, Comparable<Exclusive
deleted.set(true);
return this.bufferArray;
} finally {
+ FLUSH_BUFFER_THREAD_POOL.shutdown();
lock.unlock();
}
}