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:46:41 UTC
[iotdb] branch rel/1.0 updated: [IOTDB-5358][To rel/1.0] dn_data_dir failed to be effectively set when executing load (#8757)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/1.0 by this push:
new 4d9437719c [IOTDB-5358][To rel/1.0] dn_data_dir failed to be effectively set when executing load (#8757)
4d9437719c is described below
commit 4d9437719c9d56be5a4cec5283f40ce24a48a01a
Author: yschengzi <87...@users.noreply.github.com>
AuthorDate: Thu Jan 5 10:46:36 2023 +0800
[IOTDB-5358][To rel/1.0] dn_data_dir failed to be effectively set when executing load (#8757)
---
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 462c45ed83..8991c91116 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
@@ -1278,6 +1278,7 @@ public class IoTDBConfig {
public void setDataDirs(String[] dataDirs) {
this.dataDirs = dataDirs;
+ setLoadTsFileDir(dataDirs[0] + File.separator + IoTDBConstant.LOAD_TSFILE_FOLDER_NAME);
}
public String getRpcAddress() {