Yilin Chen
|
a1d80250e9
|
Merge branch 'master' into fix-integration-test
|
2020-09-27 17:38:34 +08:00 |
ekexium
|
6fca06a7cb
|
Fix some misuse of into_future() (#176)
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-27 17:12:03 +08:00 |
ekexium
|
a22b385c1c
|
use delete_range to clear tikv
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-24 17:37:10 +08:00 |
ekexium
|
899b5267b9
|
Merge pull request #172 from ekexium/rename
Make raw and transactional clients have similar API
|
2020-09-23 15:38:51 +08:00 |
ekexium
|
e2c74dcdba
|
fix integration tests
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-23 14:24:39 +08:00 |
Nick Cameron
|
dd542e0f39
|
Merge branch 'master' into rename
|
2020-09-23 16:59:34 +12:00 |
Nick Cameron
|
6282c65c79
|
Merge pull request #169 from ekexium/integration-tests
Integration tests: add tests for raw client
|
2020-09-23 16:46:46 +12:00 |
ekexium
|
fae7ac85f4
|
add serial txn bank transfer test
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-23 10:19:48 +08:00 |
ekexium
|
67b52a998c
|
integration tests: add raw client test
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-22 16:15:01 +08:00 |
ekexium
|
b71f989c92
|
move key_only from txn.scan to txn client
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-22 14:28:28 +08:00 |
ekexium
|
475fe54194
|
rename txn.set to txn.put
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-22 10:50:17 +08:00 |
ekexium
|
796cfbaa79
|
move key_only parameter from raw client to its scan methods
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-22 10:40:54 +08:00 |
ekexium
|
4c887a4415
|
Merge branch 'master' into integration-tests
|
2020-09-21 10:19:03 +08:00 |
ekexium
|
298f2df6b4
|
Merge pull request #168 from ekexium/fix-txn-scan
Fix txn/scan: combines local buffer and fetched result
|
2020-09-18 11:06:31 +08:00 |
ekexium
|
4aeeedfed7
|
cache results of txn/scan
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-18 10:14:07 +08:00 |
ekexium
|
93182159d9
|
raw bank transfer test
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-09-17 16:23:21 +08:00 |
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 |