This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch autoai
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/autoai by this push:
     new c4dc9c4  shutdown pool
c4dc9c4 is described below

commit c4dc9c4151e42d96e340dc1d056823108262109c
Author: qiaojialin <[email protected]>
AuthorDate: Wed Jul 28 17:48:37 2021 +0800

    shutdown 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();
     }
   }

Reply via email to