p5: raft能保证一次election选举中最多只会选出一个leader,会出现一次选举过程选举失败。
什么情况导致选举失败?
5.2 领导选举(Leader Election)
每个选举process只有一个candidate吗?
http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-857.pdf
"Clients must contact the leader directly to communicate with the system."
这样不会有吞吐的压力吗?
"the protocol’s four main timers Follower Timeout, Candidate Timeout, Leader
Timeout and Client Timeout."
Follower timeout等价于heartbeat timeout。