Skip to content
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

tidb: fix build on Go1.12 #9557

Closed
wants to merge 2 commits into from
Closed

Conversation

tiancaiamao
Copy link
Contributor

What problem does this PR solve?

After I try Go1.12, I meet this problem
#9299 (comment)

go mod tidy will upgrade the pd version to 2.1.5, and tidb fails to build with pd@2.1.5

I expect tidb to build on Go1.12

What is changed and how it works?

pd 2.1.5 doesn't not employ Go module, specify tidb to use pd@3.0.0-alpha

go get -u github.com/pingcap/pd@3.0.0-alpha

Check List

Tests

  • No code

go get -u github.com/pingcap/pd@3.0.0-alpha
@@ -63,6 +63,10 @@ var (
)

func (s *testSuite) TestFailNewSession(c *C) {
// New version of clientv3 can not test use this unix socket.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible that we use api_gate_way to replace it?

@tiancaiamao
Copy link
Contributor Author

After #9299 is merged and run go clean -modcache,
I find the latest master could pass make dev.
Close this PR because it's not necessary.

@tiancaiamao tiancaiamao closed this Mar 9, 2019
@tiancaiamao tiancaiamao deleted the build-1.12 branch March 9, 2019 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants