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 2020/11/30 03:54:02 UTC
[iotdb] branch close_file111 updated: add a strategy of closing file
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch close_file111
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/close_file111 by this push:
new 8db3052 add a strategy of closing file
8db3052 is described below
commit 8db30527c01e386548240ced302941b068856353
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Nov 30 11:53:40 2020 +0800
add a strategy of closing file
---
.../org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
index 3a67674..ddd6c3a 100755
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
@@ -631,7 +631,7 @@ public class StorageGroupProcessor {
}
}
tsFileProcessor.getTsFileProcessorInfo().addTSPMemCost(chunkMetadataSize);
- tsFileProcessor.getTsFileProcessorInfo().releaseMetadataMemCost(chunkMetadataSize);
+ tsFileProcessor.getTsFileProcessorInfo().addMetadataMemCost(chunkMetadataSize);
}
}
tsFileManagement.add(tsFileResource, isSeq);