Skip to content

Conversation

morgo
Copy link
Contributor

@morgo morgo commented Nov 14, 2022

Fixes #1198

Description

This adds support for attempting INSTANT DDL from MySQL 8.0 before applying gh-ost's original algorithm. It is disabled by default for now (per suggestion), although in future it makes sense to enable by default and hide behind version detection.

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

@morgo morgo force-pushed the attempt-instant-ddl branch from bbcd1e8 to 75a346b Compare November 14, 2022 18:47
@morgo morgo force-pushed the attempt-instant-ddl branch from cd83cbd to b06c1cd Compare November 14, 2022 19:35
Copy link
Collaborator

@timvaillancourt timvaillancourt left a comment

Choose a reason for hiding this comment

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

Thanks @morgo! I like the flag approach 👍

Added a few comments inline

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

I've added some thoughts around docs/output - the actual code looks good to me though 👍

Copy link
Collaborator

@timvaillancourt timvaillancourt left a comment

Choose a reason for hiding this comment

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

LGTM 👍. Thanks again @morgo!

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Thanks @morgo, this looks great! 🚀

This pull request was closed.
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.

Use mysql 8.0 INSTANT DDL if supported
2 participants