33

Raft的PreVote实现机制 - 简书

 6 years ago
source link: https://www.jianshu.com/p/1496228df9a9?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1. 背景 在Basic Raft算法中,当一个Follower与其他节点网络隔离,如下图所示: Follower_2在electionTimeout没收到心跳之后,会发起选举,并转为Candidate。每次发起选举时,会把Term加一。由于网络隔离,它既不会被选成Leader,也不会收到Leader的消息,而是会一直不断地发起选举。Term会不断增大。 一段时间之后,这个节点的Term会非...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK