-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go get tidb version #4
Comments
@photoszzt Thanks for your feedback! |
@rleungx my go version is go version go1.11.5 linux/amd64 github.com/pingcap/pd v2.1.0-rc.4+incompatible/go.mod h1:nD3+EoYes4+aNNODO99ES59V83MZSI+dFbhyr667a0E= |
@photoszzt Sorry for the late reply. This indeed a bug when using the transaction API as the documentation says. I am trying to find out why it happens. |
@photoszzt Can you try to replace |
@rleungx Unfortunately, it doesn't fix it. This time I can compile but the application failed to function. I keep geting this error: ERRO[0000] batchRecvLoop error when receive: rpc error: code = Unimplemented desc = But with the original terror, there's no such problem. |
@photoszzt Which version do you use? Since |
@rleungx both tikv and pd are on 2.1.4. I will try the master version. |
@rleungx I try the version on master. It works. I think it's better to match the release version for the client API unless people are expected to compile code from master. |
Thanks @photoszzt Maybe it is better to check all versions at first, we will consider this in tikv/client-go. |
I used tikv |
@kamijin-fanta Thanks for your feedback! |
@rleungx tikv/go-client calls Caller: Line 113 in 2130e26
Implementation: And I was success to connect to the old version server by executing |
@kamijin-fanta To make things more clear, you followed the instruction and run the example of the raw client. But it failed with outputting nothing, am I right? |
seem if we disable batch message with Please verify it @rleungx |
@kamijin-fanta You can try the latest master version. Batch messages disabled by default. |
Now we can use v2 version. Closing this issue. |
…nvalidStore state and lead to unnecessary backoff (tikv#1115) (tikv#1337)" (tikv#4) This reverts commit 9e1b9eb. Co-authored-by: rishabh_mittal <[email protected]>
I'm not sure whether I should file here or in docs. But I follow the document to start using the go client
go get downloads [email protected]+incompatible. The during go build, it gives out this error:
/[email protected]+incompatible/store/tikv/kv.go:28:2: unknown import path "github.com/pingcap/pd/pd-client": cannot find module providing package github.com/pingcap/pd/pd-client
I fix this problem by reinitialize the project with
The text was updated successfully, but these errors were encountered: