Commit Graph

71 Commits

Author SHA1 Message Date
Connor1996
c303272f5d add snapshot data unmarshal
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
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
Connor
b5316ae4d5 change some comments
Signed-off-by: Connor <zbk602423539@gmail.com>
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
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
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
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
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
Connor
b46700aa49 add option and fix raft client (#131)
* add option and fix raft client

Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor1996
a779cddddc fix build
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
linning
14cf2d23bf add comment for peer storage
Signed-off-by: linning <linningde25@gmail.com>
2020-04-30 15:31:26 +08:00
NingLin-P
f24d6eb488 merge master
Signed-off-by: linning <linningde25@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
5e089a2cd1 init course framework
Signed-off-by: Connor <zbk602423539@gmail.com>
Co-authored-by: Nick Cameron <nrc@ncameron.org>
Co-authored-by: linning <linningde25@gmail.com>
Co-authored-by: YangKeao <keao.yang@yahoo.com>
Co-authored-by: andylokandy <andylokandy@hotmail.com>
Co-authored-by: Iosmanthus Teng <myosmanthustree@gmail.com>
2020-04-30 15:25:07 +08:00