You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by yo...@apache.org on 2023/01/16 15:58:43 UTC

[iotdb] 01/01: Update IoTDBConfig.java

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 <53...@qq.com>
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";