Commit Graph

100 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
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
liyiheng
a5c29fcf07
Doc fix: Update link of multi-raft in reading list (#162)
* Doc fix: Update link of multi-raft in reading list

* Doc fix: Format links in reading list
2020-05-07 14:53:10 +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
Lin ZiHao
4adae7912e
update raft/log.go, fix type (#157) 2020-05-04 22:12:30 +08:00
Connor
1df74d600c add log level
Signed-off-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
b601434045 add reading list
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
e7255dbd7b Update README.md 2020-04-30 15:31:26 +08:00
Connor
dd377dedaa Add support of coprocessor (#155)
* add coprocessor support

Signed-off-by: Connor1996 <zbk602423539@gmail.com>

Co-authored-by: Yiding Cui <winoros@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
ab9b6a8eae add scanner framework
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00