-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Attempt INSTANT DDL first #1201
Conversation
bbcd1e8
to
75a346b
Compare
cd83cbd
to
b06c1cd
Compare
There was a problem hiding this 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
There was a problem hiding this 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 👍
Co-authored-by: dm-2 <45519614+dm-2@users.noreply.github.com>
…t-instant-ddl * origin/attempt-instant-ddl: Update go/logic/migrator.go
There was a problem hiding this 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!
There was a problem hiding this 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! 🚀
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.
script/cibuild
returns with no formatting errors, build errors or unit test errors.