Go client for TiKV
Go to file
disksing b9e4cb538f
Add CI status badge (#86)
Signed-off-by: disksing <i@disksing.com>
2021-06-17 20:55:30 +08:00
.github CI: add linter (#85) 2021-06-16 18:16:51 +08:00
client client: change maxRecvMsgSize to MaxInt64-1 (#88) 2021-06-17 14:21:14 +08:00
config *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
error *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
integration_tests *: add integration_tests (#82) 2021-06-16 14:57:17 +08:00
kv *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
latch *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
locate Fix txn_scope miss setting for snapshot Get (#89) 2021-06-17 16:29:08 +08:00
logutil *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
metrics Refine the SafeTS gap metric (#90) 2021-06-17 19:58:13 +08:00
mockstore *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
oracle *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
retry *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
tikv Refine the SafeTS gap metric (#90) 2021-06-17 19:58:13 +08:00
tikvrpc *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
unionstore *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
util *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00
.gitignore fix RowKVClient scan method can't rightly break loop (#43) 2020-01-10 18:13:06 +08:00
.golangci.yml CI: add linter (#85) 2021-06-16 18:16:51 +08:00
LICENSE Initial commit 2018-12-01 12:03:35 +08:00
README.md Add CI status badge (#86) 2021-06-17 20:55:30 +08:00
go.mod *: init v2 branch (#77) 2021-06-11 12:01:46 +08:00

README.md

TiKV Go Client

TiKV Go Client provides support for interacting with the TiKV server in the form of a Go library.

Stability Active Go Reference Test Status

Package versions

There are 2 major versions of the client-go package.

  • v2 is the new stable and active version. This version was extracted from pingcap/tidb and it includes new TiKV features like Follower Read, 1PC, Async Commit. The development of this version is on the v2 branch. The documentation for this version is below.

  • v1 is the previous stable version and is only maintained for bug fixes. You can read the documentation here.

Usage/Examples

  go get github.com/tikv/client-go/v2@COMMIT_HASH_OR_TAG_VERSION

Running Tests

To run tests, run the following command

  go test ./...

Used By

This project is used by the following projects:

License

Apache License 2.0