SzyWilliam opened a new pull request, #713: URL: https://github.com/apache/ratis/pull/713
## What changes were proposed in this pull request? ElectionTimeout cannot be set too small, which will lead to frequent leader change when full GC occurs. However, longer ElectionTimeout will cause longer unavailable times during start up, which is annoying. In this PR I propose to separate first election timeout and normal election timeout. This can enable Raft Group elect a leader quickly during start up while avoid frequent leader change during normal operations. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-1638 ## How was this patch tested? unit tests -- 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]
