Commit Graph

11 Commits

Author SHA1 Message Date
Rapiz
04065cadd6
Fix invalid term in 3a (#246)
Co-authored-by: NingLin-P <linningde25@gmail.com>
2021-02-02 11:49:46 +08:00
Rapiz
2f698ab6e3
Fix TestRecvMessageType_MsgRequestVote2AA (#245)
Provide with valid peers so that responses will not be ignored.
2021-02-01 13:19:08 +08:00
Rapiz
eb173f0df1
Add a helper function (#242)
Add newMemoryStorageWithEnts to provide valid MemoryStorage
2021-01-29 10:29:52 +08:00
Yixiao Chen
2f4bc66416
modified the description in TestRestoreIgnoreSnapshot2C (#236) 2021-01-21 20:45:38 +08:00
NingLin-P
2cf41a8144
fix overflow (#213)
Signed-off-by: linning <linningde25@gmail.com>
2020-07-29 12:57:40 +08:00
Lin ZiHao
109bf90f4d
TestHandleHeartbeat2AA add test case (#193)
* TestHeartbeatUpdateCommit2AB

Co-authored-by: NingLin-P <linning@pingcap.com>
2020-06-11 11:48:19 +08:00
Lin ZiHao
e01d729bd4
fix #171 let newRaft take care of peers and Prs (#172)
* let newRaft take care of peers and Prs
2020-05-14 13:24:12 +08:00
xiongjiwei
edb12af93f
fix confusing test data (#168)
* change confusing test data

* fix word spell
2020-05-11 17:19:26 +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
Connor1996
d06e805544 add missing term
Signed-off-by: Connor1996 <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