Hi, all,

@Xinyu Tan and me have made a conclusion about the refine of hearbeat and 
election related timeout parameters:

JIRA link: https://issues.apache.org/jira/browse/IOTDB-1564

Two parameters are added:

heartbeat_interval_ms (t1): The time interval(ms) between two rounds of 
heartbeat broadcast of one raft group leader.

election_timeout_ms (t2 and t3): The election timeout time of candidates and 
followers, or as the parameter of waiting for voting result.

                       t1             t1
Leader view: Send HB - - -> Send HB - - -> Send HB
                                                t2                              
       t3
Follower view: Receive HB - - -> Receive HB - - - - -> HB expired / Start 
election - - - - -> Election Timeout

I will do the following works sooner or later:

1.     Coding.

2.     Proper test cases.

3.     Docs about new parameters.

Thanks.


Reply via email to