133tosakarin commented on code in PR #13178:
URL: https://github.com/apache/iotdb/pull/13178#discussion_r1719271371
##########
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/RatisConsensus.java:
##########
@@ -112,6 +115,11 @@ class RatisConsensus implements IConsensus {
private static final Logger logger =
LoggerFactory.getLogger(RatisConsensus.class);
+ // The two fields are used to control the retry times and wait time for
setConfiguration
+ // reconfiguration may take many time, so we need to set a long wait time
and retry times
+ private final long setConfigurationWaitTime = 10000;
+ private final int setConfigurationRetryTimes = 50;
Review Comment:
these codes have been deleted
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]