You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2022/11/25 15:29:19 UTC

[iotdb] 01/01: make org.apache.iotdb.consensus.ratis.RatisConsensus as default for config_node_consensus_protocol_class

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

caogaofei pushed a commit to branch fix_confignode_region_consensus
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 6575828a85b2977b5db0ffd8e575e445b69a73dc
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Fri Nov 25 23:29:02 2022 +0800

    make org.apache.iotdb.consensus.ratis.RatisConsensus as default for config_node_consensus_protocol_class
---
 node-commons/src/assembly/resources/conf/iotdb-common.properties | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/node-commons/src/assembly/resources/conf/iotdb-common.properties b/node-commons/src/assembly/resources/conf/iotdb-common.properties
index d582b485d5..299123ba3b 100644
--- a/node-commons/src/assembly/resources/conf/iotdb-common.properties
+++ b/node-commons/src/assembly/resources/conf/iotdb-common.properties
@@ -23,10 +23,10 @@
 # ConfigNode consensus protocol type.
 # This parameter is unmodifiable after ConfigNode starts for the first time.
 # These consensus protocols are currently supported:
-# 1. org.apache.iotdb.consensus.simple.SimpleConsensus
-# 2. org.apache.iotdb.consensus.ratis.RatisConsensus
+# 1. org.apache.iotdb.consensus.ratis.RatisConsensus
+# 2. org.apache.iotdb.consensus.simple.SimpleConsensus
 # Datatype: string
-# config_node_consensus_protocol_class=org.apache.iotdb.consensus.simple.SimpleConsensus
+# config_node_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
 
 # Default number of schema replicas
 # Can not be changed after the first start