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:05:59 UTC

[iotdb] branch revert-8926-IOTDB-5426-0.13 created (now d610ab873f)

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

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


      at d610ab873f Revert "[To rel/0.13][IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled  (#8926)"

This branch includes the following new commits:

     new d610ab873f Revert "[To rel/0.13][IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled  (#8926)"

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 "[To rel/0.13][IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled (#8926)"

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

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

commit d610ab873feefc68dd3a1273f4a321e1efd7e57f
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue Jan 31 09:05:53 2023 +0800

    Revert "[To rel/0.13][IOTDB-5426] Cannot trigger flush for sequence file when timed flush enabled  (#8926)"
    
    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());
     }