Raft算法 一致性算法,主要解决选举问题(leader election)和副本同步问题(log replication) 强烈推荐看这个动画学习该算法 http://thesecretlivesofdata.com/raft/ https://raft.github.io/