qiaojialin commented on a change in pull request #1467:
URL: https://github.com/apache/incubator-iotdb/pull/1467#discussion_r452596517



##########
File path: server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
##########
@@ -191,10 +191,10 @@ private void loadProps() {
 
       loadWALProps(properties);
 
-      conf.setBaseDir(properties.getProperty("base_dir", conf.getBaseDir()));
-
-      conf.setSystemDir(
-          FilePathUtils.regularizePath(conf.getBaseDir()) + 
IoTDBConstant.SYSTEM_FOLDER_NAME);
+      String systemDir = 
FilePathUtils.regularizePath(properties.getProperty("system_dir"));
+      if(systemDir == null)
+        systemDir = 
FilePathUtils.regularizePath(properties.getProperty("base_dir", 
conf.getSystemDir()));

Review comment:
       add system folder after base_dir




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to