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 00:58:31 UTC

[iotdb] branch revert-8921-IOTDB-5426 created (now fdf8ee3b86)

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

haonan pushed a change to branch revert-8921-IOTDB-5426
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at fdf8ee3b86 Revert "[IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8921)"

This branch includes the following new commits:

     new fdf8ee3b86 Revert "[IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8921)"

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: Revert "[IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8921)"

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

haonan pushed a commit to branch revert-8921-IOTDB-5426
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit fdf8ee3b864a47e6378d28b0d0daf9906c83e3b3
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue Jan 31 08:58:25 2023 +0800

    Revert "[IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8921)"
    
    This reverts commit 24b99cb9a3489755560e194b69845fadb9952c4b.
---
 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 67736cb56f..fd0214b519 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,6 +132,7 @@ 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());
     }