Commit Graph

659 Commits

Author SHA1 Message Date
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
Nick Cameron 0b2eb449a6 Tidy up API of tikv-client-store
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron 744f45fda9 Tidy up API of pd crate
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron 89bf4c6c53 Use pub exports of common types
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron 56d837b0df Move config module to src from common
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron ced9c67adb Remove util module
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron e7bd456722 Move duration util fn to stats
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron 1f5387ddfe Move thread_name out of util
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron c79cbeb9ad Move compat module to src
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron 32cec0592f Remove ok_and_then compat fn
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron 6fef86f5a6 use async trait in pd/client
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-29 10:24:23 +13:00
Nick Cameron fa4a3f3c89
Merge pull request #187 from ekexium/remove-expect
Propagates error instead of panicking when getting context returns error
2020-10-28 14:14:30 +13:00
ekexium 99ef8d0a47 style: use pattern match
Signed-off-by: ekexium <ekexium@gmail.com>
2020-10-27 14:08:26 +08:00
ekexium e516617b36 propagates error instead of panicking when getting context returns error
Signed-off-by: ekexium <ekexium@gmail.com>
2020-10-26 22:15:15 +08:00
Nick Cameron a399f8157a
Update README.md 2020-10-23 11:51:35 +13:00
Nick Cameron 20666c84e8
Update README.md
Change docs link
2020-10-23 11:50:54 +13:00
Nick Cameron d3cecad351
Update doc.yml 2020-10-23 09:09:19 +13:00
Nick Cameron 58b04b7667
Update doc.yml 2020-10-23 08:34:36 +13:00
Nick Cameron 6583c532f8
Update doc.yml 2020-10-22 22:39:40 +13:00
Nick Cameron 258c9ee8b5
Update doc.yml 2020-10-22 22:37:13 +13:00
龙方淞 c01495e20f
Basic support of pessimistic transaction (#184)
Signed-off-by: longfangsong <longfangsong@icloud.com>
2020-10-22 15:03:54 +08:00
Nick Cameron 491c1fa47f
Update doc.yml
Fix action
2020-10-22 16:57:16 +13:00
Nick Cameron e3cca9ce6e
Create doc.yml
Add an action to build rustdoc and upload it
2020-10-22 16:55:18 +13:00
Nick Cameron c2aa253112 Add .git-ftp-include file
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2020-10-22 16:50:59 +13:00
ekexium 9ca9aa79c6
GC: initial implementation (#182)
Signed-off-by: ekexium <ekexium@gmail.com>
2020-10-13 16:22:56 +08:00
Nick Cameron 540b50ace4
Merge pull request #183 from ekexium/update-readme
readme: remove gc workaround
2020-10-13 16:23:24 +13:00
ekexium 8f40ed061a
Merge branch 'master' into update-readme 2020-10-13 11:15:47 +08:00
ekexium a23b160f91 readme: remove gc workaround
Signed-off-by: ekexium <ekexium@gmail.com>
2020-10-13 11:14:35 +08:00
Nick Cameron 592089f1d7
Merge pull request #181 from ekexium/ci
CI: use latest instead of nightly PD and TiKV
2020-10-13 09:33:06 +13:00