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/03/16 12:37:10 UTC
[iotdb] branch master updated: [IOTDB-5684] Standardize log folder of ConfigNode's Simple consensus protocol
This is an automated email from the ASF dual-hosted git repository.
yongzao 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 b54a3ef136 [IOTDB-5684] Standardize log folder of ConfigNode's Simple consensus protocol
b54a3ef136 is described below
commit b54a3ef1361cefc784c8526426a8157015eeaeb7
Author: YongzaoDan <33...@users.noreply.github.com>
AuthorDate: Thu Mar 16 20:37:03 2023 +0800
[IOTDB-5684] Standardize log folder of ConfigNode's Simple consensus protocol
---
.../org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java b/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java
index e3b4f948e1..b49123c542 100644
--- a/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java
+++ b/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java
@@ -90,7 +90,7 @@ public class ConsensusManager {
ConsensusConfig.newBuilder()
.setThisNode(
new TEndPoint(CONF.getInternalAddress(), CONF.getConsensusPort()))
- .setStorageDir("target" + java.io.File.separator + "simple")
+ .setStorageDir(CONF.getConsensusDir())
.setConsensusGroupType(TConsensusGroupType.ConfigRegion)
.build(),
gid -> stateMachine)