You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/11/26 10:58:30 UTC

[iotdb] branch IOTDB-5052 created (now 33c7caf2a6)

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

jackietien pushed a change to branch IOTDB-5052
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 33c7caf2a6 [IOTDB-5052] Query release others' file reader by mistake

This branch includes the following new commits:

     new 33c7caf2a6 [IOTDB-5052] Query release others' file reader by mistake

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: [IOTDB-5052] Query release others' file reader by mistake

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

jackietien pushed a commit to branch IOTDB-5052
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 33c7caf2a66ffbd207e438b0fc7768738a12a2d6
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Sat Nov 26 18:54:54 2022 +0800

    [IOTDB-5052] Query release others' file reader by mistake
---
 .../main/java/org/apache/iotdb/db/mpp/execution/driver/DataDriver.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DataDriver.java b/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DataDriver.java
index 761ebfa033..340a8f4bcc 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DataDriver.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/DataDriver.java
@@ -87,7 +87,7 @@ public class DataDriver extends Driver {
     }
     closedFilePaths = null;
     for (TsFileResource tsFile : unClosedFilePaths) {
-      FileReaderManager.getInstance().decreaseFileReaderReference(tsFile, true);
+      FileReaderManager.getInstance().decreaseFileReaderReference(tsFile, false);
     }
     unClosedFilePaths = null;
   }