This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch fix_ratis_flush_failed
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/fix_ratis_flush_failed by this
push:
new eb30bef7de7 recover code
eb30bef7de7 is described below
commit eb30bef7de74126e7af7d2cf2f0556f34dd5fb6b
Author: HTHou <[email protected]>
AuthorDate: Mon Mar 18 16:56:42 2024 +0800
recover code
---
.../main/java/org/apache/iotdb/confignode/conf/ConfigNodeConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeConfig.java
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeConfig.java
index 993c23498eb..6ed563ec137 100644
---
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeConfig.java
+++
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeConfig.java
@@ -66,7 +66,7 @@ public class ConfigNodeConfig {
private int schemaReplicationFactor = 1;
/** Data region consensus protocol. */
- private String dataRegionConsensusProtocolClass =
ConsensusFactory.RATIS_CONSENSUS;
+ private String dataRegionConsensusProtocolClass =
ConsensusFactory.IOT_CONSENSUS;
/** Default number of DataRegion replicas. */
private int dataReplicationFactor = 1;