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

yongzao pushed a commit to branch Fix-IDEA-DataNode-cannot-start-bug
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 9b952cf5c6b2e364a5960e9a536bbb22a9195125
Author: YongzaoDan <[email protected]>
AuthorDate: Mon Jan 16 23:58:30 2023 +0800

    Update IoTDBConfig.java
---
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 c75e685871..772bd57fa7 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
@@ -146,7 +146,7 @@ public class IoTDBConfig {
       "org.apache.iotdb.db.conf.directories.strategy.";
   private static final String DEFAULT_MULTI_DIR_STRATEGY = 
"MaxDiskUsableSpaceFirstStrategy";
   // Strategy of multiple directories
-  private String dnMultiDirStrategyClassName = null;
+  private String dnMultiDirStrategyClassName = DEFAULT_MULTI_DIR_STRATEGY;
 
   // Consensus directory
   private String dnConsensusDir = IoTDBConstant.DEFAULT_BASE_DIR + 
File.separator + "consensus";

Reply via email to