李佳
42603af3c6
Merge branch 'course' into lorettax
2021-05-14 11:09:24 +08:00
L
1fac2cb9b5
updated error comments and appropriate parameters
2021-05-14 10:52:14 +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
Connor1996
bc06cdf987
fix project3c test filter
...
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-05-26 11:16:41 +08:00
Lin ZiHao
b6d7c442e3
raftState and applyState change to pointer ( #179 )
...
Co-authored-by: Connor <zbk602423539@gmail.com>
2020-05-22 10:54:54 +08:00
klaus
b4a7a561f8
chore: fix typo ( #180 )
2020-05-22 02:55:09 +08:00
loxp
e620983e76
typo: AppendEntries ( #178 )
2020-05-21 17:39:10 +08:00
xiongjiwei
1eed5cfc88
set correct path for project3b ( #175 )
...
* project 3B in ./kv/test_raftstore
2020-05-20 15:00:00 +08:00
Connor1996
6f7280b90b
fix invalid tinysql revision
...
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-05-18 17:09:48 +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
Palash Nigam
38dfb05303
README.md: fix typo ( #169 )
2020-05-12 16:30:36 +08:00
xiongjiwei
edb12af93f
fix confusing test data ( #168 )
...
* change confusing test data
* fix word spell
2020-05-11 17:19:26 +08:00
FK2469
08a4067af7
Add missing test data for server_test TestRawDelete1 ( #163 )
2020-05-07 23:02:22 +08:00