You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2023/07/18 02:58:19 UTC

[iotdb] 01/01: disable update last flush time after tsfile load

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

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

commit ffba8632be063f26495de2485e62285c1c37f92e
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Tue Jul 18 10:49:32 2023 +0800

    disable update last flush time after tsfile load
---
 .../java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java
index 3f018a8c113..964e52f4756 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java
@@ -2207,7 +2207,7 @@ public class DataRegion implements IDataRegionForQuery {
               newTsFileResource.getTsFile().getName());
 
       resetLastCacheWhenLoadingTsFile(); // update last cache
-      updateLastFlushTime(newTsFileResource); // update last flush time
+      //      updateLastFlushTime(newTsFileResource); // update last flush time
       long partitionNum = newTsFileResource.getTimePartition();
       updatePartitionFileVersion(partitionNum, newTsFileResource.getVersion());
       logger.info("TsFile {} is successfully loaded in unsequence list.", newFileName);