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 2023/01/31 01:06:10 UTC
[iotdb] branch rel/0.13 updated: Revert "[To rel/0.13][IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8926)" (#8934)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.13 by this push:
new 2d3695db32 Revert "[To rel/0.13][IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8926)" (#8934)
2d3695db32 is described below
commit 2d3695db324f577d8bd5dce51544744b5da052b9
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue Jan 31 09:06:04 2023 +0800
Revert "[To rel/0.13][IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8926)" (#8934)
This reverts commit 0a9c3668bd91910a4f1fb27d923cf5024c4878d7.
---
server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java b/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java
index aa7ada8b31..8f3fa6c48e 100644
--- a/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java
+++ b/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java
@@ -128,6 +128,7 @@ public class SystemInfo {
if (reportedStorageGroupMemCostMap.containsKey(storageGroupInfo)) {
delta = reportedStorageGroupMemCostMap.get(storageGroupInfo) - storageGroupInfo.getMemCost();
this.totalStorageGroupMemCost -= delta;
+ storageGroupInfo.setLastReportedSize(storageGroupInfo.getMemCost());
reportedStorageGroupMemCostMap.put(storageGroupInfo, storageGroupInfo.getMemCost());
}