随笔分类 -  raft

结合logcabin看下raft算法实现
摘要:零、项目入口 raft作者启动的一个项目,以这个为基础看下文章描述的实现方法 一、candidate启动一次投票 首先递增任期,之后进入“候选人”状态 voidRaftConsensus::startNewElection(){…… ++currentTerm; state = State::CAN 阅读全文

posted @ 2019-04-10 16:56 tsecer 阅读(729) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示