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

dm: support MySQL 8.0 GA #10415

Merged
merged 6 commits into from
Jan 5, 2024
Merged

dm: support MySQL 8.0 GA #10415

merged 6 commits into from
Jan 5, 2024

Conversation

lyzx2001
Copy link
Contributor

@lyzx2001 lyzx2001 commented Jan 3, 2024

What problem does this PR solve?

Issue Number: close #10405

What is changed and how it works?

DM supports MySQL 8.0 GA.

Check List

Tests

  • Unit test

Questions

Will it cause performance regression or break compatibility?

No.

Do you need to update user documentation, design documentation or monitoring documentation?

pingcap/docs#15959
pingcap/docs-cn#15985

Release note

DM supports MySQL 8.0 GA.

@ti-chi-bot ti-chi-bot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 3, 2024
@lyzx2001
Copy link
Contributor Author

lyzx2001 commented Jan 3, 2024

/cc @lance6716

@ti-chi-bot ti-chi-bot bot requested a review from lance6716 January 3, 2024 15:11
@lyzx2001
Copy link
Contributor Author

lyzx2001 commented Jan 4, 2024

/retest

@lyzx2001
Copy link
Contributor Author

lyzx2001 commented Jan 4, 2024

/cc @lance6716

var SupportedVersion = map[string]struct {
Min MySQLVersion
Max MySQLVersion
}{
"mysql": {
MySQLVersion{5, 6, 0},
MySQLVersion{8, 0, 0},
MySQLVersion{8, 0, 34},
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right, supported version should be < 8.0.36

Copy link
Contributor

Choose a reason for hiding this comment

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

can you explain the reason why we choose that version? currently latest MySQL's release version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, I initially tend to support 8.0.x, which means we support all the versions starting with 8.0, but in the code we need to be specific about the version, so I use the latest MySQL's release version

Copy link
Contributor

Choose a reason for hiding this comment

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

You can use MySQLVersion{8, 1, 0} then

Copy link
Contributor Author

Choose a reason for hiding this comment

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

modified

@lyzx2001
Copy link
Contributor Author

lyzx2001 commented Jan 4, 2024

/retest

1 similar comment
@lyzx2001
Copy link
Contributor Author

lyzx2001 commented Jan 4, 2024

/retest

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Jan 5, 2024
@lyzx2001
Copy link
Contributor Author

lyzx2001 commented Jan 5, 2024

/cc @D3Hunter

@ti-chi-bot ti-chi-bot bot requested a review from D3Hunter January 5, 2024 03:03
@ti-chi-bot ti-chi-bot bot added the lgtm label Jan 5, 2024
Copy link
Contributor

ti-chi-bot bot commented Jan 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: D3Hunter, lance6716

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jan 5, 2024
Copy link
Contributor

ti-chi-bot bot commented Jan 5, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-01-05 02:15:17.232646856 +0000 UTC m=+2396008.269873776: ☑️ agreed by lance6716.
  • 2024-01-05 03:47:16.428987262 +0000 UTC m=+2401527.466214208: ☑️ agreed by D3Hunter.

@ti-chi-bot ti-chi-bot bot merged commit d412672 into pingcap:master Jan 5, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DM supports MySQL 8.0 GA
3 participants