talent-plan-tinykv/raft
unconsolable 556518011f
raft: keep leader term consistent with log entries (#299)
* raft: keep leader term consistent with log entries

Signed-off-by: unconsolable <chenzhipeng2012@gmail.com>

* Set leader's term to be greater than/equal to follower

Co-authored-by: NingLin-P <linning@pingcap.com>

Co-authored-by: NingLin-P <linning@pingcap.com>
2021-11-02 16:40:18 +08:00
..
doc.go Fix typos (#233) 2021-01-18 13:35:03 +08:00
log.go update raft/log.go, fix type (#157) 2020-05-04 22:12:30 +08:00
raft_paper_test.go raft: keep leader term consistent with log entries (#299) 2021-11-02 16:40:18 +08:00
raft_test.go put two test in 2AB (#294) 2021-09-21 14:16:14 +08:00
raft.go Modify comments of electionElapsed (#228) 2020-12-30 11:46:42 +08:00
rawnode_test.go init course framework 2020-04-30 15:25:07 +08:00
rawnode.go tiny change for softstate comment 2020-07-22 11:01:27 +08:00
storage.go init course framework 2020-04-30 15:25:07 +08:00
util.go init course framework 2020-04-30 15:25:07 +08:00