ekexium
|
121352e173
|
Merge branch 'fix-txn-bank-transfer' of github.com:ekexium/client-rust into fix-txn-bank-transfer
|
2021-01-12 10:14:06 +08:00 |
ekexium
|
4a9a023561
|
update comment
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-12 10:13:35 +08:00 |
Nick Cameron
|
b83a4bcd98
|
Merge branch 'master' into fix-txn-bank-transfer
|
2021-01-12 10:07:52 +13:00 |
Nick Cameron
|
1ea0550902
|
Merge pull request #223 from ekexium/fix-nightly-clippy
Refactor: fix nightly cargo clippy
|
2021-01-12 09:59:55 +13:00 |
Nick Cameron
|
70c63a67ee
|
Merge branch 'master' into fix-nightly-clippy
|
2021-01-12 09:58:53 +13:00 |
Nick Cameron
|
33c6d276d8
|
Merge pull request #210 from longfangsong/master
fix using wrong primary key
|
2021-01-12 09:48:49 +13:00 |
ekexium
|
578be6cff2
|
refactor: fix nightly cargo clippy
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-11 16:40:38 +08:00 |
ekexium
|
0857bf25bd
|
add a None level
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-11 13:30:28 +08:00 |
longfangsong
|
5ab439f75f
|
update comments
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2021-01-11 13:02:54 +08:00 |
ekexium
|
0de0163b29
|
add an option to control the behavior when txns get dropped
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-11 11:59:13 +08:00 |
longfangsong
|
4d33d88e5f
|
apply suggestions from reviewing
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2021-01-08 13:54:49 +08:00 |
longfangsong
|
d2f3005e5a
|
fix not filtering out the primary key when collecting secondary keys
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2021-01-08 13:49:22 +08:00 |
longfangsong
|
c556293cad
|
fix not filtering out the primary key when collecting secondary keys
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2021-01-08 13:45:45 +08:00 |
longfangsong
|
161433f7aa
|
add primary_key field to TwoPhaseCommitter
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2021-01-08 13:44:48 +08:00 |
longfangsong
|
d78d105807
|
move primary to buffer
Signed-off-by: longfangsong <longfangsong@icloud.com>
|
2021-01-08 13:43:16 +08:00 |
Nick Cameron
|
3392e6341b
|
Merge pull request #215 from ekexium/ignore-cargo-lock
Update dependency
|
2021-01-07 09:03:33 +13:00 |
ekexium
|
2a709116a6
|
update rand to 0.8
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-06 15:53:57 +08:00 |
ekexium
|
c71ac8740c
|
update fail, promethues, proptest
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-06 15:50:39 +08:00 |
ekexium
|
c1bb955832
|
use tempfile to replace tempdir
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-06 15:46:23 +08:00 |
ekexium
|
684059a341
|
update grpcio to 0.7
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-06 15:32:28 +08:00 |
ekexium
|
a8f52b9ba8
|
update tokio to 1.0
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-06 15:21:55 +08:00 |
ekexium
|
6b8b61fc79
|
ignore Cargo.lock
Signed-off-by: ekexium <ekexium@gmail.com>
|
2021-01-06 14:05:34 +08:00 |
Nick Cameron
|
2d657d74be
|
Merge pull request #213 from nrc/options
Refactor the transaction API re how we set options, and add some options to skip resolve and retry
|
2021-01-06 10:22:50 +13:00 |
Nick Cameron
|
3a29cb39a4
|
Address reviewer comments
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-06 08:55:09 +13:00 |
Nick Cameron
|
f90a82fe35
|
Add some docs and move try_one_pc out of options ctor
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
1c7e843b54
|
Refactor the retry options
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
5d584d93b3
|
Add option to not automatically resolve regions
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
59b4a8d32b
|
Add an option to not resolve locks on key locked errors
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
de9ca63dc9
|
Add transaction option for no retry
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
0db6ab8923
|
Refactor Backoff
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
304de84352
|
txn: rename TwoPhaseCommitter to Committer
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
6dbaa74b32
|
Move code around in transaction.rs
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
d71e34d8c7
|
txn: move read_only to options
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
b46022b7db
|
Some renaming (and adds one method)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2021-01-05 14:48:57 +13:00 |
Nick Cameron
|
6c3b9a74f2
|
Merge pull request #214 from ekexium/resume-ci
CI: use nightly TiKV and PD images and run examples
|
2021-01-05 09:25:28 +13:00 |
ekexium
|
8828f9c93e
|
run examples in CI
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-12-24 15:40:47 +08:00 |
ekexium
|
6e8eef7fcf
|
fix examples
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-12-24 15:33:29 +08:00 |
ekexium
|
da63451caf
|
fix integration tests
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-12-24 15:20:00 +08:00 |
ekexium
|
e9871d25c6
|
ci: use nightly
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-12-22 17:05:48 +08:00 |
Nick Cameron
|
0c7fd9594c
|
Merge pull request #211 from andylokandy/error
Use thiserror and rename Error to ClientError
|
2020-12-16 20:59:28 +13:00 |
Andy Lok
|
72ab9b3371
|
rename ClientError to Error
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-12-16 15:20:57 +08:00 |
Andy Lok
|
e0e918ce2c
|
remove useless into()
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-12-15 18:36:35 +08:00 |
Andy Lok
|
8f20f0c09e
|
fix error
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-12-15 18:30:57 +08:00 |
Andy Lok
|
4873e6d605
|
Merge branch 'master' of https://github.com/tikv/client-rust into error
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-12-15 18:28:56 +08:00 |
Andy Lok
|
d8887b054e
|
apply clippy
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-12-15 18:22:39 +08:00 |
Andy Lok
|
f9ab95ce62
|
Use thiserror and rename Error to ClientError
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-12-15 18:13:46 +08:00 |
Nick Cameron
|
0f505dd11c
|
Merge pull request #203 from nrc/async-commit
Initial work on async commit
|
2020-12-11 15:30:03 +13:00 |
Nick Cameron
|
bf306d72cc
|
Merge branch 'master' into async-commit
|
2020-12-11 15:29:54 +13:00 |
Nick Cameron
|
e2214eec38
|
Merge pull request #207 from humancalico/trs
make `new_pessimistic_lock_request` more consistent with `transaction::request`'s API
|
2020-12-10 15:18:37 +13:00 |
Akshat Agarwal
|
53325c73b0
|
make new_pessimistic_lock_request more consistent
Signed-off-by: Akshat Agarwal <humancalico@disroot.org>
|
2020-12-10 02:44:12 +05:30 |