Raft详解-启动后运行期间代码
摘要:
Raft启动后运行期间主要执行两个函数;1、状态监测和转化 func (rf *Raft) Loop() { // Set out as a follower TimeOutConst := 0 for { TimeOutConst = ElectionTimeoutConst() if rf.st 阅读全文
posted @ 2016-09-27 18:09 Joker_88 阅读(1651) 评论(0) 推荐(0)