You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ju...@apache.org on 2025/11/14 06:33:57 UTC

(iotdb) branch master updated: Active Load: Fixes errors caused by Load copying resource files. (#16753)

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

justinchen 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 db7c801d846 Active Load: Fixes errors caused by Load copying resource files. (#16753)
db7c801d846 is described below

commit db7c801d8465a8d0dc9fa5e844d14102045b59a6
Author: Zhenyu Luo <zh...@apache.org>
AuthorDate: Fri Nov 14 14:33:52 2025 +0800

    Active Load: Fixes errors caused by Load copying resource files. (#16753)
---
 .../org/apache/iotdb/db/storageengine/load/active/ActiveLoadUtil.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadUtil.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadUtil.java
index 5bfa9b71105..669013ec450 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadUtil.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadUtil.java
@@ -91,11 +91,11 @@ public class ActiveLoadUtil {
       targetDir = targetFilePath;
     }
 
-    loadTsFileAsyncToTargetDir(targetDir, file, isDeleteAfterLoad);
     loadTsFileAsyncToTargetDir(
         targetDir, new File(file.getAbsolutePath() + ".resource"), isDeleteAfterLoad);
     loadTsFileAsyncToTargetDir(
         targetDir, new File(file.getAbsolutePath() + ".mods"), isDeleteAfterLoad);
+    loadTsFileAsyncToTargetDir(targetDir, file, isDeleteAfterLoad);
     return true;
   }