Nick Cameron
|
93368a7fe0
|
Address review comments
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-12-08 10:51:10 +13:00 |
Nick Cameron
|
9dcf298d87
|
Implement prewrite for async commit and 1pc
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-12-04 21:25:04 +13:00 |
Nick Cameron
|
5a06fd5582
|
Add try one pc to config
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-12-04 14:40:08 +13:00 |
Nick Cameron
|
e346652b81
|
Refactor transaction to use TransactionStyle
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-12-04 14:34:45 +13:00 |
Nick Cameron
|
a6df2d4b57
|
Update protos
Signed-off-by: Nick Cameron <nrc@ncameron.org>
|
2020-12-04 14:21:02 +13:00 |
Nick Cameron
|
70dd5580f1
|
Merge pull request #202 from andylokandy/master
Allow unbounded start key
|
2020-11-26 15:59:20 +13:00 |
Andy Lok
|
9473bd5268
|
allow unbounded start key
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-11-25 17:58:32 +08:00 |
Nick Cameron
|
ac96d14cfd
|
Merge pull request #201 from andylokandy/master
Improve ergonomics
|
2020-11-25 09:21:02 +13:00 |
Andy Lok
|
9cb904a499
|
split scan() into scan() and scan_keys()
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-11-24 17:45:11 +08:00 |
Andy Lok
|
1857ed2f83
|
Resturcture take2
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-11-23 21:48:41 +08:00 |
Andy Lok
|
0d66e23076
|
Merge branch 'master' of https://github.com/tikv/client-rust into HEAD
|
2020-11-23 19:27:44 +08:00 |
Nick Cameron
|
ca8884f00e
|
Merge pull request #196 from ekexium/rollback
Fix: rollback and commit in transaction
|
2020-11-23 20:30:27 +13:00 |
Andy Lok
|
21a8dc43ad
|
Merge from master
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-11-20 20:53:11 +08:00 |
Andy Lok
|
aa2fae8f17
|
Restructure
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
2020-11-20 18:01:38 +08:00 |
ekexium
|
cb1fdbe3d9
|
Merge remote-tracking branch 'upstream/master' into rollback
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-16 22:00:39 +08:00 |
ekexium
|
87cd620aa2
|
fix: disablow read/write after attempt to commit/rollback; don't panic in drop if commit or rollback failed
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-16 21:56:31 +08:00 |
Nick Cameron
|
e3e9721e7f
|
Merge pull request #198 from ekexium/doc
Update inline doc for types
|
2020-11-16 15:56:40 +13:00 |
ekexium
|
96b54a08d7
|
doc: resolve comments
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-16 10:37:29 +08:00 |
ekexium
|
6b3996ee76
|
fix: snapshot don't panic on drop
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-12 14:25:56 +08:00 |
ekexium
|
68e1592691
|
opt: rollback takes ownership to reduce unnecessary clone
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-12 11:57:23 +08:00 |
ekexium
|
a13801966c
|
fix: panic in drop instead of rollback
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-12 11:46:27 +08:00 |
ekexium
|
f5da5eae6b
|
style: rename Normal to Active
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-12 11:28:45 +08:00 |
ekexium
|
79f6259aa8
|
opt: Rollback early returns if no mutations
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-12 11:28:12 +08:00 |
ekexium
|
c3d26733aa
|
Merge remote-tracking branch 'upstream/master' into rollback
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 18:18:31 +08:00 |
ekexium
|
370bdad231
|
doc: minor change
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 17:04:22 +08:00 |
ekexium
|
6cfe1257ab
|
doc: region
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 17:02:28 +08:00 |
ekexium
|
3bf91fe8a9
|
doc: Value
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 16:48:39 +08:00 |
ekexium
|
de5978be95
|
doc: ToOwnedRange
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 16:40:37 +08:00 |
ekexium
|
82fdf4c9e2
|
doc: timestamp
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 16:05:13 +08:00 |
ekexium
|
a92f3710fe
|
doc: result
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 15:50:21 +08:00 |
ekexium
|
cfbf87d3bc
|
doc: KvPair
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 15:46:01 +08:00 |
ekexium
|
dee4267431
|
doc: Key
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 15:30:31 +08:00 |
ekexium
|
8d920e6c22
|
doc: error; also remove unused error
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 15:18:27 +08:00 |
ekexium
|
1ce67462d1
|
doc: BoundRange
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 15:06:23 +08:00 |
ekexium
|
b1bf7f6218
|
doc: SecurityManager
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-10 14:57:40 +08:00 |
ekexium
|
eee86cb48e
|
doc: config
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-09 18:33:11 +08:00 |
ekexium
|
ea02095e00
|
Merge remote-tracking branch 'upstream/master' into doc
|
2020-11-09 16:37:59 +08:00 |
ekexium
|
635775f197
|
doc: add section titles
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-09 16:31:38 +08:00 |
ekexium
|
a42723766e
|
doc: format code in doc
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-09 16:17:11 +08:00 |
ekexium
|
e521aa0473
|
doc: transaction
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-09 16:12:29 +08:00 |
Nick Cameron
|
1c72722ed5
|
Merge pull request #197 from ekexium/async-mutex
Use async aware Mutex instead of std::mutex in async functions
|
2020-11-09 19:47:25 +13:00 |
ekexium
|
7691084a0c
|
use tokio::Mutex instead of mutex in async functions
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-09 12:00:33 +08:00 |
ekexium
|
1098583d92
|
doc: snapshot
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-09 11:18:39 +08:00 |
ekexium
|
80ec5defbb
|
doc: transaction client
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-09 11:02:21 +08:00 |
ekexium
|
ff7c64f269
|
remove one unnecessary check
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-06 18:07:03 +08:00 |
ekexium
|
03014f19c9
|
fix: add rollback to txn; doesn't allow operation after successful commit/rollback
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-06 17:47:55 +08:00 |
ekexium
|
8fec6fbf26
|
doc: raw client
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-06 15:24:12 +08:00 |
Nick Cameron
|
c7eeff9e4a
|
Merge pull request #193 from ekexium/move-store
Refactor: move some modules to main crate
|
2020-11-03 16:20:25 +13:00 |
Nick Cameron
|
1c490af653
|
Merge pull request #195 from ekexium/update-readme
readme: update dependency and doc
|
2020-11-03 16:19:50 +13:00 |
ekexium
|
87f2e599f9
|
remove public visibility of codec
Signed-off-by: ekexium <ekexium@gmail.com>
|
2020-11-03 10:11:43 +08:00 |