You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2021/08/19 04:48:49 UTC

[iotdb] branch to0.12filehandle created (now 9974944)

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

xiangweiwei pushed a change to branch to0.12filehandle
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 9974944  @Alima777 Fix file handle can not be released

This branch includes the following new commits:

     new 9974944  @Alima777 Fix file handle can not be released

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[iotdb] 01/01: @Alima777 Fix file handle can not be released

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiangweiwei pushed a commit to branch to0.12filehandle
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 9974944ed257e2799bdea3914be89e3060d3eb66
Author: Alima777 <wx...@gmail.com>
AuthorDate: Thu Aug 19 12:48:15 2021 +0800

    @Alima777
    Fix file handle can not be released
---
 .../main/java/org/apache/iotdb/db/query/control/QueryFileManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/query/control/QueryFileManager.java b/server/src/main/java/org/apache/iotdb/db/query/control/QueryFileManager.java
index bdcfb06..d75bbe3 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/control/QueryFileManager.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/control/QueryFileManager.java
@@ -102,7 +102,7 @@ public class QueryFileManager {
         queryId,
         (k, v) -> {
           for (TsFileResource tsFile : v) {
-            FileReaderManager.getInstance().decreaseFileReaderReference(tsFile, true);
+            FileReaderManager.getInstance().decreaseFileReaderReference(tsFile, false);
           }
           return null;
         });