Skip to content

Commit df13612

Browse files
authored
[To dev/1.3] Active Load: Fixes errors caused by Load copying resource files. (#16753) (#16757)
(cherry picked from commit db7c801)
1 parent f66794b commit df13612

File tree

1 file changed

+1
-1
lines changed
  • iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active

1 file changed

+1
-1
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ private static boolean loadTsFilesToActiveDir(
9292
Objects.nonNull(loadAttributes) ? loadAttributes : Collections.emptyMap();
9393
final File targetDir = ActiveLoadPathHelper.resolveTargetDir(targetFilePath, attributes);
9494

95-
loadTsFileAsyncToTargetDir(targetDir, file, isDeleteAfterLoad);
9695
loadTsFileAsyncToTargetDir(
9796
targetDir, new File(file.getAbsolutePath() + ".resource"), isDeleteAfterLoad);
9897
loadTsFileAsyncToTargetDir(
9998
targetDir, new File(file.getAbsolutePath() + ".mods"), isDeleteAfterLoad);
99+
loadTsFileAsyncToTargetDir(targetDir, file, isDeleteAfterLoad);
100100
return true;
101101
}
102102

0 commit comments

Comments
 (0)