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 2023/02/05 02:38:25 UTC
[iotdb] 01/01: comment SIMPLE_CONSENSUS write log
This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a commit to branch geely_car_improvement
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 7043995d2e1b0af7f15ac02360b35e7451399b88
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Sun Feb 5 10:38:04 2023 +0800
comment SIMPLE_CONSENSUS write log
---
.../consensus/statemachine/ConfigNodeRegionStateMachine.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/confignode/src/main/java/org/apache/iotdb/confignode/consensus/statemachine/ConfigNodeRegionStateMachine.java b/confignode/src/main/java/org/apache/iotdb/confignode/consensus/statemachine/ConfigNodeRegionStateMachine.java
index 16d75de30b..a19094439c 100644
--- a/confignode/src/main/java/org/apache/iotdb/confignode/consensus/statemachine/ConfigNodeRegionStateMachine.java
+++ b/confignode/src/main/java/org/apache/iotdb/confignode/consensus/statemachine/ConfigNodeRegionStateMachine.java
@@ -138,9 +138,10 @@ public class ConfigNodeRegionStateMachine
result = new TSStatus(TSStatusCode.INTERNAL_SERVER_ERROR.getStatusCode());
}
- if (ConsensusFactory.SIMPLE_CONSENSUS.equals(CONF.getConfigNodeConsensusProtocolClass())) {
- writeLogForSimpleConsensus(plan);
- }
+ // if (ConsensusFactory.SIMPLE_CONSENSUS.equals(CONF.getConfigNodeConsensusProtocolClass()))
+ // {
+ // writeLogForSimpleConsensus(plan);
+ // }
return result;
}