ekexium
|
c2f041d94d
|
txn/scan combines local buffer and fetched result
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-17 16:17:18 +08:00 |
Nick Cameron
|
cfba3095f5
|
Merge pull request #164 from ekexium/fix-region-range
Bound region range by query range
|
2020-09-17 13:49:48 +12:00 |
ekexium
|
941eda765a
|
Merge branch 'master' into fix-region-range
|
2020-09-15 15:15:11 +08:00 |
ekexium
|
e29c1204da
|
Merge pull request #159 from ekexium/mock-tikv-workaround
Add a mock tikv and a mock pd for easier integration tests (first step)
|
2020-09-15 14:52:28 +08:00 |
ekexium
|
fb16ded290
|
Merge branch 'master' into fix-region-range
|
2020-09-15 14:27:46 +08:00 |
ekexium
|
fb9dc3a81e
|
match on upper_bound
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-15 14:26:51 +08:00 |
ekexium
|
b6008c3f21
|
Merge branch 'master' into mock-tikv-workaround
|
2020-09-15 14:15:01 +08:00 |
ekexium
|
16d4bd7e8d
|
Merge pull request #166 from ekexium/handle-boundrange-into
Handle None when converting BoundRange to KeyRange
|
2020-09-15 14:12:30 +08:00 |
ekexium
|
ea34d39bb6
|
remove stale comments
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-15 14:11:06 +08:00 |
ekexium
|
9c2fe19ddd
|
use unwrap_or_default instead of match
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-15 13:52:53 +08:00 |
ekexium
|
db483b5042
|
Merge branch 'master' into mock-tikv-workaround
|
2020-09-15 11:41:18 +08:00 |
ekexium
|
6971392e5f
|
Merge branch 'master' into fix-region-range
|
2020-09-15 11:32:47 +08:00 |
ekexium
|
4f2ff24724
|
bound_range: improve code style
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-15 11:32:25 +08:00 |
ekexium
|
e2348a7c46
|
Merge branch 'master' into handle-boundrange-into
|
2020-09-15 11:02:27 +08:00 |
ekexium
|
a3a0d9fe65
|
Merge pull request #165 from ekexium/propagate-error-in-map_region_to_store
propagate error in map_region_to_store
|
2020-09-15 11:01:24 +08:00 |
ekexium
|
b8522ef045
|
handle None when converting BoundRange to KeyRange
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-15 10:20:52 +08:00 |
ekexium
|
307293acd9
|
propagate error in map_region_to_store
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-15 10:09:44 +08:00 |
ekexium
|
d16887592f
|
bound region range by query range
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-14 18:49:52 +08:00 |
ekexium
|
6c94663ee1
|
mock tikv: update kvproto dependency
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-14 15:40:17 +08:00 |
ekexium
|
208fd35d78
|
Merge branch 'master' into mock-tikv-workaround
|
2020-09-14 14:34:28 +08:00 |
ekexium
|
194acb633c
|
mock tikv: remove unnecessary clones; delete requests won't return errors
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-14 14:33:06 +08:00 |
Nick Cameron
|
a10432a366
|
Merge pull request #163 from longfangsong/master
update kvproto dependency
|
2020-09-14 16:28:38 +12:00 |
Nick Cameron
|
561823f69a
|
Merge pull request #161 from ekexium/optimize_stores_for_range
Optimize condition in stores_for_range
|
2020-09-14 16:25:47 +12:00 |
ekexium
|
1bf9374939
|
mock tikv: distinguish between empty value and non-exsit keys; same behavior with TiKV
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-14 12:17:24 +08:00 |
longfangsong
|
55beddbe3f
|
update kvproto dependency
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2020-09-14 12:00:00 +08:00 |
ekexium
|
559c6b4c9a
|
optimize condition in stores_for_range
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-11 18:31:23 +08:00 |
ekexium
|
ee999c50a6
|
resume proptest
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-11 15:04:55 +08:00 |
ekexium
|
ca017b1bb7
|
change semantics of raw_batch_delete; iterate once
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-11 14:41:49 +08:00 |
ekexium
|
83df1332cd
|
resolve comments: improve style in mock-tikv
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-10 17:48:38 +08:00 |
ekexium
|
61552961ae
|
resolve comments: resume src/mock.rs, improve style
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-09 15:28:52 +08:00 |
ekexium
|
26e1a566e3
|
add a mock PD
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-09 15:21:15 +08:00 |
ekexium
|
44cc11dc9c
|
separate mock_tikv into a server and an in-memory store
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-08 15:07:15 +08:00 |
ekexium
|
1d3b3b86b1
|
temporarily disable proptest
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-08 14:06:08 +08:00 |
ekexium
|
bb1961d790
|
move mock-tikv to an individual crate
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-08 14:01:01 +08:00 |
ekexium
|
2838e6c845
|
fix bug; add another mocked pd client
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-08 14:00:49 +08:00 |
ekexium
|
cee82fd81d
|
add raw delete/batch_delete
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-08 14:00:49 +08:00 |
ekexium
|
266dbc4419
|
add raw batch put
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-08 14:00:49 +08:00 |
ekexium
|
3d2baf8dd0
|
first impl of raw put/write with workaround
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-08 14:00:41 +08:00 |
Nick Cameron
|
9d9dca4103
|
Merge pull request #158 from nrc/refactor
Refactor PD crate to make it more independent
|
2020-07-27 21:40:09 +12:00 |
Nick Cameron
|
92a1649e48
|
Tidy up
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-07-27 10:22:16 +12:00 |
Nick Cameron
|
d110ad1ecb
|
Move region and store from common to store crate
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-07-27 10:16:33 +12:00 |
Nick Cameron
|
a70aa203b0
|
Move some functionality for pd cluster up a layer
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-07-27 10:16:33 +12:00 |
Nick Cameron
|
bc9ae7103e
|
Refactor pd clients
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-07-27 10:15:26 +12:00 |
Nick Cameron
|
f16df2dbc5
|
Make tso crate-private
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-07-27 10:13:25 +12:00 |
Nick Cameron
|
a6414c0aa5
|
Move last_connected time from PD cluster to RetryClient
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-07-27 10:13:25 +12:00 |
Nick Cameron
|
07194c4c43
|
Merge pull request #149 from longfangsong/remove-compact
Remove compat
|
2020-07-27 10:12:20 +12:00 |
longfangsong
|
913da196f0
|
Remove unnecessary file
Thanks to @nrc
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2020-07-24 13:05:41 +08:00 |
longfangsong
|
100ae95a21
|
Update dependencies
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2020-07-24 11:31:21 +08:00 |
longfangsong
|
325ca2c902
|
Remove rust-toolchain and unnecessary restrictions to rust version in .travis.yml
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2020-07-23 20:03:23 +08:00 |
longfangsong
|
fa157d440c
|
merge master into this
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2020-07-23 19:56:02 +08:00 |