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

justinchen pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/dev/1.3 by this push:
     new df136124e6f [To dev/1.3] Active Load: Fixes errors caused by Load 
copying resource files. (#16753) (#16757)
df136124e6f is described below

commit df136124e6f27379a2bfd58d1c71b71cc88c6d67
Author: Zhenyu Luo <[email protected]>
AuthorDate: Fri Nov 14 19:01:22 2025 +0800

    [To dev/1.3] Active Load: Fixes errors caused by Load copying resource 
files. (#16753) (#16757)
    
    (cherry picked from commit db7c801d8465a8d0dc9fa5e844d14102045b59a6)
---
 .../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 1ab573a14cd..e3dbe43507d 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
@@ -92,11 +92,11 @@ public class ActiveLoadUtil {
         Objects.nonNull(loadAttributes) ? loadAttributes : 
Collections.emptyMap();
     final File targetDir = 
ActiveLoadPathHelper.resolveTargetDir(targetFilePath, attributes);
 
-    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;
   }
 

Reply via email to