Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

*: unify version and set max compatible via NextMajorVersion#798

Merged
ti-srebot merged 15 commits into
pingcap:masterfrom
overvenus:unify-version
Mar 11, 2021
Merged

*: unify version and set max compatible via NextMajorVersion#798
ti-srebot merged 15 commits into
pingcap:masterfrom
overvenus:unify-version

Conversation

@overvenus
Copy link
Copy Markdown
Member

What problem does this PR solve?

Unify version and set max compatible via NextMajorVersion.

Check List

Tests

  • Unit test

Code changes

  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change

Related changes

  • Need to cherry-pick to the release branch

Release Note

  • No release note.

Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
Copy link
Copy Markdown
Collaborator

@kennytm kennytm left a comment

Choose a reason for hiding this comment

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

Rest LGTM

Comment thread errors.toml Outdated
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
@overvenus overvenus modified the milestones: v4.0.12, v5.0.0 Mar 10, 2021
Copy link
Copy Markdown
Collaborator

@glorv glorv left a comment

Choose a reason for hiding this comment

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

rest LGTM

Comment thread pkg/pdutil/pd.go Outdated
return nil, errors.Trace(err)
}

return semver.NewVersion(rawVersion)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The raw version string fetch from pd is quoted, I think we need to trim the " here.

> curl http://172.16.4.5:2379/pd/api/v1/config/cluster-version

"4.0.8"

Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
@kennytm
Copy link
Copy Markdown
Collaborator

kennytm commented Mar 10, 2021

/lgtm

@ti-srebot ti-srebot added the status/LGT1 LGTM1 label Mar 10, 2021
@glorv
Copy link
Copy Markdown
Collaborator

glorv commented Mar 11, 2021

/lgtm

@ti-srebot ti-srebot removed the status/LGT1 LGTM1 label Mar 11, 2021
@ti-srebot ti-srebot added the status/LGT2 LGTM2 label Mar 11, 2021
@overvenus
Copy link
Copy Markdown
Member Author

/merge

@ti-srebot
Copy link
Copy Markdown
Contributor

/run-all-tests

@overvenus
Copy link
Copy Markdown
Member Author

/merge

@ti-srebot
Copy link
Copy Markdown
Contributor

@overvenus merge failed.

@ti-srebot
Copy link
Copy Markdown
Contributor

Your auto merge job has been accepted, waiting for:

  • 806
  • 780

@ti-srebot
Copy link
Copy Markdown
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit 9348911 into pingcap:master Mar 11, 2021
ti-srebot pushed a commit to ti-srebot/br that referenced this pull request Mar 11, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Copy Markdown
Contributor

cherry pick to release-4.0 in PR #852

overvenus pushed a commit that referenced this pull request Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants