Skip to content

Conversation

@letientai299
Copy link
Contributor

What is changed, added or deleted? (Required)

I've tried to build tidb locally using go 1.12 and fail with following error

# github.com/pingcap/tidb/store/tikv
store/tikv/2pc.go:765:69: time.Since(lockWaitStartTime).Milliseconds undefined (type time.Duration has no field or method Milliseconds)
store/tikv/2pc.go:838:37: time.Since(lockWaitStartTime).Milliseconds undefined (type time.Duration has no field or method Milliseconds)
note: module requires Go 1.13

It builds ok with Go 1.13+, so I think it's better to update those instruction that refer to Go 1.9 or later.

@sre-bot sre-bot added the contribution This PR is from a community contributor. label May 20, 2020
@CLAassistant
Copy link

CLAassistant commented May 20, 2020

CLA assistant check
All committers have signed the CLA.

@TomShawn TomShawn requested review from TomShawn and nolouch May 21, 2020 02:33
@TomShawn TomShawn added size/small Changes of a small size. translation/doing This PR's assignee is translating this PR. labels May 21, 2020
@TomShawn
Copy link
Contributor

@letientai299 Thanks for your contribution!
@nolouch PTAL and check which version this PR applies to, thanks!

@TomShawn
Copy link
Contributor

@shafreeck PTAL

Copy link
Contributor

@TomShawn TomShawn left a comment

Choose a reason for hiding this comment

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

LGTM

@TomShawn
Copy link
Contributor

@yikeke Please help merge this PR because I am not yet authorized to merge PR in this repo, thanks!

Copy link

@shafreeck shafreeck left a comment

Choose a reason for hiding this comment

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

LGTM

@TomShawn TomShawn merged commit 052e9b9 into pingcap:master May 29, 2020
sre-bot pushed a commit to sre-bot/docs that referenced this pull request May 29, 2020
* Update Go requirements

* Apply suggestions from code review

Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
@sre-bot
Copy link
Contributor

sre-bot commented May 29, 2020

cherry pick to release-4.0 in PR #2632

TomShawn added a commit that referenced this pull request May 29, 2020
* Update Go requirements

* Apply suggestions from code review

Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>

Co-authored-by: Tai Le <letientai299@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
@TomShawn TomShawn mentioned this pull request May 29, 2020
5 tasks
This was referenced May 29, 2020
@TomShawn TomShawn added translation/no-need No need to translate this PR. and removed translation/doing This PR's assignee is translating this PR. labels Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution This PR is from a community contributor. size/small Changes of a small size. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants