Commit Graph

194 Commits

Author SHA1 Message Date
MichaelDeSteven
54a92ea427
fix typo (#363) 2022-01-11 11:31:44 +08:00
unconsolable
348994cf68
scheduler: replace retool by go mod (#369) 2022-01-11 11:22:46 +08:00
Weny Xu
35bbb17885
chore(Makefile): run project 2c tests separately (#364) 2022-01-05 13:06:11 +08:00
charstal
7aa7a2099c
Auto temp file delete (#340)
* auto delete tmp file
2021-12-22 09:32:57 +00:00
oocococo
db489b317f
fix a log issue (#356) 2021-12-22 16:39:15 +08:00
MichaelDeSteven
556640a39e
fix: TestPersistPartitionUnreliable2B annotation (#343) 2021-12-22 04:30:02 +00:00
Smith Cruise
a2b934b71a
fix typo (#355)
Co-authored-by: Connor <zbk602423539@gmail.com>
2021-12-22 04:28:06 +00:00
Weny Xu
8b8fdd5adf
feat(kv/config): support to customize log level via env (#324)
* feat(kv/config): support to customize log level via env

Author:    Weny Xu <wenymedia@gmail.com>
Date:      Sat Nov 27 10:37:00 2021 +0900
2021-12-22 03:58:33 +00:00
Smith Cruise
b82206ff30
Add empty lock test in 4A (#347)
* Add empty lock test in 4A
2021-12-22 03:19:36 +00:00
Jiarui Li
dccddfae90
refactor(raft_test): use consistent output format for TestProposal2AB (#348) 2021-12-21 03:14:47 +00:00
JLDataKu
9e55d89617
fix typo in doc/project2-RaftKV.md (#335)
* fix typo
2021-12-21 03:11:37 +00:00
Jiarui Li
c82fd58ed8
refactor(raft_storage): remove dead code (#351) 2021-12-20 14:17:36 +00:00
h3n4l
90e2dfaffa
fix: fix the comment in msg.go (#352)
Co-authored-by: Connor <zbk602423539@gmail.com>
2021-12-20 08:01:44 +00:00
Jiarui Li
43e37c16f7
fix(raftstore): fix typo (#354) 2021-12-20 15:59:35 +08:00
李素晴
e4cdc05319
fix: misspelled words (#342) 2021-12-13 11:07:05 +08:00
oocococo
3712dea6b9
fix a typo, to make p2c guideline more readable (#331)
* fix typo
2021-12-06 14:17:03 +08:00
oocococo
94f6fc45ab
fix(raft): LogTerm exceed Term (#323)
LogTerm should always be smaller than Term in AppendMsg

fix #322
2021-11-29 13:54:37 +08:00
YLC
98138e859e
fix typo (#316) 2021-11-24 14:26:59 +08:00
Zhenhua Yang
aefad168f6
add hints for TestLeaderSyncFollowerLog2AB (#302)
Co-authored-by: NingLin-P <linningde25@gmail.com>
2021-11-23 19:07:16 +08:00
Vincil Lau
de31fb1e51
fix typo in raft/raft_test.go (#314) 2021-11-19 13:38:42 +08:00
nothatDinger
07d420b75e
Update bootstrap.go (#309)
fix typos
2021-11-18 11:53:29 +08:00
dengtianhei
d6bc38004a
Update rawnode.go (#301)
fix typo.
2021-11-10 17:27:06 +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
Zhenhua Yang
08ded5e967
Change handler location in project1-StandaloneKV.md (#296) 2021-10-03 22:53:49 +08:00
Xiang Zhang
f959edc4c0
fix ValidForPrefix wrong arguments order (#293) 2021-09-23 13:09:24 +08:00
Isaac
cb5fba6ea7
put two test in 2AB (#294) 2021-09-21 14:16:14 +08:00
ZhaolongLi
802b1880d5
fix redundant output (#290)
Co-authored-by: NingLin-P <linningde25@gmail.com>
2021-09-13 15:09:25 +08:00
tison
ec7131ba7d
README: rewrite (#279) 2021-09-13 12:48:29 +08:00
ZhaolongLi
b2ff324882
fix wrong file name (#291) 2021-09-13 12:39:13 +08:00
Isaac
d73c60fd5e
Update server_test.go (#292) 2021-09-13 12:29:21 +08:00
Daobing Zhu
077953e2d7
Fix an issue to support unreliable in GenericTest (#265)
* fix an issue to support unreliable in GenericTest
2021-09-01 17:39:01 +08:00
pupillord
bda1e7b85b
Server: Extract raw api to be implemented in Project1 into raw_api.go (#285)
* Extract raw api to be implemented in Project1 into raw_api.go

* Run go fmt to apply automatic formatter and delete redundant comments

* Add comments and hints to each function

Co-authored-by: tison <wander4096@gmail.com>
2021-08-25 17:24:05 +08:00
nothatDinger
de3a408ed5
fix a typo in readme of project3 (#287) 2021-08-25 13:10:34 +08:00
Andy Lok
abcd3abd4c
makefile: test 2B and 3B one by one (#277)
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-08-12 18:44:27 +08:00
Match_yc
b313af83c8
Update project1-StandaloneKV.md (#267)
error in using parentheses, it's not enclosed.

Co-authored-by: goroutine <ngaut@users.noreply.github.com>
2021-08-07 13:26:23 +08:00
you06
da81fad61c
fix typo in img (#270)
Signed-off-by: you06 <you1474600@gmail.com>
2021-08-04 13:18:31 +08:00
unconsolable
b4b7dca34f
fix an issue in getting GOPATH in generate_go.sh (#262) 2021-06-21 19:35:52 +08:00
Yxa0x0
7c8bc00a00
remove description of Applying in RegionLocalState (#263) 2021-06-21 19:13:38 +08:00
WangGuiPing
2f43d2901c
fix: use newMemoryStorageWithEnts (#258) 2021-05-10 13:40:45 +08:00
mmyj
25dec1a21f
fixing spelling mistakes (#254) 2021-02-23 20:20:22 +08:00
minghuaw
b0a089ed8f
Update README.md (#253)
minor changes to the phrasing to make Readme sound more native
2021-02-20 11:51:36 +08:00
Rapiz
aa616ee404
Update project3-MultiRaftKV.md (#250) 2021-02-05 13:14:39 +08:00
Trafalgar Ricardo Lu
3dcc4f1ede
Add test for project2ab (#249)
* add note for test function acceptAndReply()

* add test for project2ab

Co-authored-by: NingLin-P <linningde25@gmail.com>
2021-02-03 19:25:55 +08:00
Panda
2546def36e
upgrade github.com/Connor1996/badger (#247) 2021-02-02 12:34:24 +08:00
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
Rapiz
951f0b3baf
Remove the unused argument in ScheduleCompactLog (#240) 2021-01-27 11:32:07 +08:00
Rapiz
a79bebf439
Fix incorrect heading level (#239) 2021-01-25 21:16:51 +08:00
Rapiz
94204da928
Fix a typo (#237)
* Fix a typo

* Fix a typo
2021-01-25 01:11:39 +08:00