Commit Graph

537 Commits

Author SHA1 Message Date
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
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 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 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
ekexium 23714d7ac9 readme: update dependency and doc
Signed-off-by: ekexium <ekexium@gmail.com>
2020-11-02 11:56:47 +08:00
ekexium 85fd78948e impl KvConnectStore for TikvConnect
Signed-off-by: ekexium <ekexium@gmail.com>
2020-11-02 11:04:59 +08:00
Nick Cameron db4ea3c718
Merge branch 'master' into move-store 2020-11-02 12:41:11 +13:00
Nick Cameron fa434640cc
Merge pull request #192 from nrc/proto
Build our own protos
2020-11-02 09:17:03 +13:00
ekexium 84ee8685a8 move timestamp from tikv-client-common to main crate
Signed-off-by: ekexium <ekexium@gmail.com>
2020-11-01 00:11:31 +08:00
ekexium 9a366b153a move kv from tikv-client-common to main crate
Signed-off-by: ekexium <ekexium@gmail.com>
2020-11-01 00:08:24 +08:00
ekexium 3aeb0bbfb4 move store and region from tikv-client-store to main crate
Signed-off-by: ekexium <ekexium@gmail.com>
2020-10-31 23:54:31 +08:00
Nick Cameron 70738cdbc8 Make CLippy ignore generated code
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-30 16:27:09 +13:00
Nick Cameron 2aefeb32c1 Build our own protos
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-30 14:43:56 +13:00
Nick Cameron 67c4526988
Merge pull request #191 from nrc/dispatch
More polishing of the API and refactoring
2020-10-30 09:51:27 +13:00
Nick Cameron 9695a76d83
Merge branch 'master' into dispatch 2020-10-30 09:22:34 +13:00
Nick Cameron bf02734a12 Fix bug with stats
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-30 09:22:04 +13:00
Nick Cameron 6e7229cd58
Merge pull request #190 from nrc/compat
Refactor and tidy up APIs in upstream crates
2020-10-29 16:53:02 +13:00
Nick Cameron e5c34911aa
Merge branch 'master' into compat 2020-10-29 15:00:41 +13:00
Nick Cameron 31a9c02b58 Remove use of unstable feature
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 14:57:14 +13:00
Nick Cameron d2f2373499 Trim the public API a bit more
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 14:51:16 +13:00
Nick Cameron 1371f8ee8b Use async/await for reduce function
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 14:02:45 +13:00
Nick Cameron 20384872a8 Move stats out of common crate
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 13:49:04 +13:00
Nick Cameron 797257aff4 Remove KvRpcRequest
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 13:33:28 +13:00
Nick Cameron edf6a8055e Remove DispatchHook
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 13:26:09 +13:00
Nick Cameron 79a2c87408 Make a Request trait in store crate, refactor using it
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 11:52:29 +13:00
Nick Cameron 6fbd134007 MOve tikv-store client to its own module
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:31:54 +13:00