Commit Graph

9 Commits

Author SHA1 Message Date
niebayes
cfbc05df7e
add a new interface allEntries to RaftLog (#418) 2022-08-29 03:31:40 +00:00
李素晴
e4cdc05319
fix: misspelled words (#342) 2021-12-13 11:07:05 +08:00
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
Isaac
cb5fba6ea7
put two test in 2AB (#294) 2021-09-21 14:16:14 +08:00
Trafalgar Ricardo Lu
4b02c82dac
add note for test function acceptAndReply() (#230)
Co-authored-by: NingLin-P <linningde25@gmail.com>
2021-01-07 02:47:53 +08:00
sunznx
2792ccd03e
fix typo (#211) 2020-07-20 14:24:51 +08:00
Lin ZiHao
189b95819b
update raft_test TestLeaderElection2AA (#159)
* update raft_test TestLeaderElection2AA

change expected state to StateCandidate. since implementation of prevote is not required
2020-05-07 14:47:10 +08:00
Connor
1df74d600c add log level
Signed-off-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
5e089a2cd1 init course framework
Signed-off-by: Connor <zbk602423539@gmail.com>
Co-authored-by: Nick Cameron <nrc@ncameron.org>
Co-authored-by: linning <linningde25@gmail.com>
Co-authored-by: YangKeao <keao.yang@yahoo.com>
Co-authored-by: andylokandy <andylokandy@hotmail.com>
Co-authored-by: Iosmanthus Teng <myosmanthustree@gmail.com>
2020-04-30 15:25:07 +08:00