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/05 02:20:14 UTC

[iotdb] branch master updated: [IOTDB-5358]dn_data_dir failed to be effectively set when executing load (#8749)

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

haonan 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 0f944f7861 [IOTDB-5358]dn_data_dir failed to be effectively set when executing load (#8749)
0f944f7861 is described below

commit 0f944f7861eada69c9ba5b7bab1b57ea86761a30
Author: yschengzi <87...@users.noreply.github.com>
AuthorDate: Thu Jan 5 10:20:08 2023 +0800

    [IOTDB-5358]dn_data_dir failed to be effectively set when executing load (#8749)
---
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 0826457982..0aa341b708 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -1261,6 +1261,7 @@ public class IoTDBConfig {
     // TODO(szywilliam): rewrite the logic here when ratis supports complete snapshot semantic
     setRatisDataRegionSnapshotDir(
         dataDirs[0] + File.separator + IoTDBConstant.SNAPSHOT_FOLDER_NAME);
+    setLoadTsFileDir(dataDirs[0] + File.separator + IoTDBConstant.LOAD_TSFILE_FOLDER_NAME);
   }
 
   public String getRpcAddress() {