Commit Graph

78 Commits

Author SHA1 Message Date
废物点心
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
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
Yang Keao
0eecd7db66 pick master change and add comment
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
2020-04-30 15:31:26 +08:00
Nick Cameron
c477bc0115 Reinstate the PhysicalTime function
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-04-30 15:31:16 +08:00
clark1013
5b2b4e2729 refactor: rename InnerServer to Storage (#117)
* rename `InnerServer` to `Storage`
2020-04-30 15:30:24 +08:00
LittleDriver
6a66855c34 refactor: make split task unbatched (#105)
1. call AskSplit instead of AskBatchSplit on pd/client package
2. use the single split operation to instead of the batchSplit on raftstore package
3. remove definition of AskBatchSplitRequest/Response
4. delete all functions of handling request of BatchReportSplit from scheduler server
5. perform the generate.sh for metapb.proto
2020-04-30 15:29:07 +08:00
yuzhao.jyz
3dd1e10a32 Add comments to region_task (#106)
* Add comments to `region_task`

Co-authored-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:28:31 +08:00
LittleDriver
c6d73254bc Remove the building parameter of ldflags from Makefile (#93)
Signed-off-by: fengzixu <hnustphoenix@gmail.com>

Co-authored-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:27:54 +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