-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Online DDL: enforce ALGORITHM=COPY on shadow table #12521
Online DDL: enforce ALGORITHM=COPY on shadow table #12521
Conversation
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
Is there a way to test this change in CI? Ideally a unit test.. |
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Existing unit tests actually failed due to the change, and now adapted! |
We probably need to write a website FAQ / doc telling people how to work themselves out if they run into this situation. Not blocking this PR on that. |
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Per https://docs.percona.com/percona-xtrabackup/8.0/em/instant.html, the issue is resolved in Copy from said doc:
|
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Description
Similarly to #12436, this PR uses explicit
ALGORITHM=COPY
when altering Online DDL shadow tables. The shadow table is empty anyway, so there is no performance impact to usingCOPY
. The advantage of usingCOPY
is thatXtrabackup
(at least on some versions?) has problems backing up tables created withINSTANT
algorithm.Related Issue(s)
Fixes #12517
Checklist
Deployment Notes