You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/11/04 07:25:44 UTC

[GitHub] [iotdb] wangchao316 commented on a diff in pull request #7904: [IOTDB-4850] Disable first election

wangchao316 commented on code in PR #7904:
URL: https://github.com/apache/iotdb/pull/7904#discussion_r1013695051


##########
confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeConfig.java:
##########
@@ -220,8 +220,8 @@ public class ConfigNodeConfig {
   private long dataRegionRatisPreserveLogsWhenPurge = 1000;
 
   /* first election timeout shares between 3 regions */
-  private long ratisFirstElectionTimeoutMinMs = 50;
-  private long ratisFirstElectionTimeoutMaxMs = 150;
+  private long ratisFirstElectionTimeoutMinMs = 2000;

Review Comment:
   whether is  this time a better,  can our election-time greater than this time?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org