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/30 05:49:58 UTC

[iotdb] branch master updated: [IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8921)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 24b99cb9a3 [IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8921)
24b99cb9a3 is described below

commit 24b99cb9a3489755560e194b69845fadb9952c4b
Author: Alan Choo <43...@users.noreply.github.com>
AuthorDate: Mon Jan 30 13:49:51 2023 +0800

    [IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8921)
---
 server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java | 1 -
 1 file changed, 1 deletion(-)

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 fd0214b519..67736cb56f 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
@@ -132,7 +132,6 @@ public class SystemInfo {
     if (reportedStorageGroupMemCostMap.containsKey(dataRegionInfo)) {
       delta = reportedStorageGroupMemCostMap.get(dataRegionInfo) - dataRegionInfo.getMemCost();
       this.totalStorageGroupMemCost -= delta;
-      dataRegionInfo.setLastReportedSize(dataRegionInfo.getMemCost());
       reportedStorageGroupMemCostMap.put(dataRegionInfo, dataRegionInfo.getMemCost());
     }