Commit Graph

61 Commits

Author SHA1 Message Date
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
Connor1996
feca690a6a adjust doc
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
174028fc8a remove useless hints
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
d06e805544 add missing term
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
32aed2fe2b some tiny change for project3 doc
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
YangKeao
75a021284d Add doc for project3 part C (#153) 2020-04-30 15:31:26 +08:00
Connor1996
3b9800441e add doc for project1
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
NingLin-P
a22b69e90a add part2 A and B course material (#151)
* add part2 A and B course material

Signed-off-by: linning <linningde25@gmail.com>
2020-04-30 15:31:26 +08:00
Nick Cameron
95099c5595 Add project 4 course material (#152)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-04-30 15:31:26 +08:00
Connor1996
2f148e51aa fix readme statement
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
51f3830cee fix readme format
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
b8374cb7b6 upload part of course material
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
2dad6f81cb tiny change for comment
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
c303272f5d add snapshot data unmarshal
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
499098da90 add comment for proto
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
55c6151c9b rename batchsystem to raftstore
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
5691c2c3bc fix region task comment
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
a4998e0309 Update Makefile 2020-04-30 15:31:26 +08:00
Connor1996
e9462775d3 rename lab to project
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Rich
15838152aa fix invalid order of expected and actual in kv/server/server_test.go (#141)
* fix invalid order of expected and actual in tests

Co-authored-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Rich
a674bd7ab1 Add back the noop entry hint for "becomeLeader" (#148)
from master to course branch
the noop entry is important hint for implementation, else learner will feel confused when test fail.
2020-04-30 15:31:26 +08:00
Connor
bda9f18a70 add comment for stabled
Signed-off-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
b5316ae4d5 change some comments
Signed-off-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
废物点心
d945d6faf1 add missing test target for lab2 (#146) 2020-04-30 15:31:26 +08:00
Connor1996
300323f5fb init applystate
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Nick Cameron
9dc51167e8 Address issues with KeyError and MemStorage (#144)
* Implement `error` for `KeyError`

closes #134

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Check for unclosed iterators in memStorage

cc #110

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-04-30 15:31:26 +08:00
Connor1996
612724328b remove reject hint
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
bb9739ae6e try to stable tests (#142)
* try to stable tests

Signed-off-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
kana112233
b19552c109 fix: tinykv-server argument db-path (#137)
fix  tinykv-server  argument  change `--db-path=data` to `-path=data`

Co-authored-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
84e464263b Fix region error (#139)
* fix key not found and close iter

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

* fix region error

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

Co-authored-by: Nick Cameron <nrc@ncameron.org>
2020-04-30 15:31:26 +08:00
Connor
2fdc5773bd Update README.md 2020-04-30 15:31:26 +08:00
Connor
bbc1d06883 Update README.md 2020-04-30 15:31:26 +08:00
Connor1996
73f60164cb fix transaction test build
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
tiddar
ca5a7773ac fix AllLocksForTxn (#140)
Co-authored-by: tiddar <zhangweichen@songguo7.com>
2020-04-30 15:31:26 +08:00
Nick Cameron
db46fe7169 Remove a dead function
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-04-30 15:31:26 +08:00
Connor
fbd1ef4cf5 adjust some comments
Signed-off-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Rich
dcc172a122 reuse GetCFFromTxn (#136)
Co-authored-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Rich
ef92f265f3 Add DeleteCF for single DELETE operation (#135) 2020-04-30 15:31:26 +08:00
LittleDriver
096240d32f add the Value method for Modify type (#133) 2020-04-30 15:31:26 +08:00
Connor
8aa0fa7768 fix key not found and close iter (#132)
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00