Commit Graph

168 Commits

Author SHA1 Message Date
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
Yixiao Chen
2f4bc66416
modified the description in TestRestoreIgnoreSnapshot2C (#236) 2021-01-21 20:45:38 +08:00
YangKian
59265ae04d
fix wrong setting in handleStaleMsg function (#235) 2021-01-20 14:51:02 +08:00
Rapiz
5dcdd7bfcb
Fix typos (#233) 2021-01-18 13:35:03 +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
何卓然
87f6ce88e8
spell check using grammarly (#229) 2021-01-04 10:25:36 +08:00
何卓然
5e493b7bb9
fix #225 (#227)
Co-authored-by: NingLin-P <linningde25@gmail.com>
2020-12-30 13:24:03 +08:00
何卓然
d70b4d2560
Modify comments of electionElapsed (#228) 2020-12-30 11:46:42 +08:00
toyohito murooka
9c3a38a059
close iterator (#221)
fix test code.
refter to https://github.com/pingcap-incubator/tinykv/issues/167
2020-10-09 14:05:17 +08:00
YangKeao
fc36c301fb
refine the misleading comment in test (#216)
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
2020-08-11 15:44:44 +08:00
Binacs
6998f4c47a
[kv/util/engine_util] remove dependence on config, making the code more concise and efficient (#215) 2020-08-04 14:00:43 +08:00
affe
e55ab1a6d0
docs(project1 standaloneKV) fix a typo: warps should be wraps (#214) 2020-08-01 01:40:56 +08:00
NingLin-P
2cf41a8144
fix overflow (#213)
Signed-off-by: linning <linningde25@gmail.com>
2020-07-29 12:57:40 +08:00
Connor1996
abaa565b18 fix concurrent read and write on map
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-07-27 15:30:27 +08:00
huahang
a7d2aa66d5
Add vendor folder to .gitignore. (#212)
Signed-off-by: Hans <hans@dkmt.io>
2020-07-27 15:16:55 +08:00
Connor1996
284b736572 tiny change for softstate comment
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-07-22 11:01:27 +08:00
sunznx
2792ccd03e
fix typo (#211) 2020-07-20 14:24:51 +08:00
miamiaoxyz
0a3cb4d128
fix doc timestamp bug (#210)
According to Percolator paper page 5, I found that `default` CF should append to the store with *start* timestamp  in `KvPrewrite` ,and  `write` CF with *commit* timestamp in `KvCommit`, which should be swapped.

Co-authored-by: Nick Cameron <nrc@ncameron.org>
2020-06-29 09:13:25 +12:00
xiongjiwei
cb91131143
return nil when genearte snapshot failed (#206)
Co-authored-by: Connor <zbk602423539@gmail.com>
2020-06-28 15:18:49 +08:00
Lin ZiHao
3513f5d1b4
MustHavePeer and MustNonePeer should panic after timeout (#207) 2020-06-11 15:50:06 +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
Connor1996
18d6e1d8e3 update eraftpb.pb.go
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-06-09 13:54:52 +08:00
Potato
6a1e5d76de
fix wrong proto path in project1-StandaloneKV.md (#202) 2020-06-09 13:41:10 +08:00
xiongjiwei
6f95cf0df4
bug fix: may cause redundant change peer request (#196)
* bug fix: may cause redundant change peer request

Co-authored-by: Connor <zbk602423539@gmail.com>
2020-06-08 13:49:28 +08:00
sdjdd
d13ccb8785
test(project1): call StandAloneStorage.Start before test code run (#197)
close #195
2020-06-02 17:20:25 +08:00
xiongjiwei
c7fa725b05
Fixes #177 (#181)
* clone region meta before send to avoid unexpected variable change
2020-05-29 10:00:52 +08:00
xiongjiwei
16b8058220
close file and refactor function (#185)
* close file
2020-05-28 13:04:18 +08:00