-
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
Backups: Support InnoDB Redo Log Location With 8.0.30+ #10847
Conversation
Signed-off-by: Matt Lord <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
Testing was done with: cd examples/local ./401_teardown.sh; ./101_initial_cluster.sh; ./backups/take_backups.sh Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
The apt repo does not have older versions in it :-( Signed-off-by: Matt Lord <[email protected]>
c0f7ac0
to
4b2fc86
Compare
And we need to download more dependencies Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
e706eba
to
119dd6e
Compare
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Moved this back to draft as I need to confirm something and cannot seem to ATM due to: https://bugs.mysql.com/bug.php?id=108016 If there are other files in the |
Update: the issue I ran into was NOT 8.0.30 related in the end: https://bugs.mysql.com/bug.php?id=108017 I was able to confirm that the current code in the PR is correct. There are no other files in the
|
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.
The code LGTM especially the capability check using the server version 💯
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.
We need release notes changes too for v14 and v13. That however will be separate PRs right?
You mean documenting the 8.0.30 incompatibility as a known issue? Yeah, those have to be separate PRs on the release branches + update to the actual release content in GH releases. |
I was unable to backport this Pull Request to the following branches: |
…kups ... removing the temporary workflow changes on main Backups: Support InnoDB Redo Log Location With 8.0.30+ Signed-off-by: Matt Lord <[email protected]>
This should not be merged until after the backport is merged: vitessio#10895 Signed-off-by: Matt Lord <[email protected]>
This should not be merged until after the backport is merged: #10895 Signed-off-by: Matt Lord <[email protected]>
) * Merge pull request #10847 from planetscale/8.0.30_builtin_backups ... removing the temporary workflow changes on main Backups: Support InnoDB Redo Log Location With 8.0.30+ Signed-off-by: Matt Lord <[email protected]> * Address linter warning: WARN [linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the golangci/golangci-lint#2649. go/mysql/conn_flaky_test.go:658:2: S1001: should use copy() instead of a loop (gosimple) for j, i := range t.queryPacket { ^ Signed-off-by: Matt Lord <[email protected]> * Pin MySQL Version at 8.0.29 for upgrade/downgrade manual e2e test This is needed as we do not currently plan on backporting the backup fixes to v13 and older, thus release-13.0 will not ever get the backup fixes to support 8.0.30+. If we do decide to backport the fixes to release-13.0 then this workflow change can be reverted. Signed-off-by: Matt Lord <[email protected]> * Correct comment based on current plans Signed-off-by: Matt Lord <[email protected]> Co-authored-by: Deepthi Sigireddi <[email protected]>
Changes LGTM. Wondering we don't have similar test cases for XtrabackupEngine which can verify these changes for Xtrabackup |
Our XtraBackup tests use Percona's Apt Repo as the latest version of XtraBackup 8.0 (8.0.29 as of July 17) often does not support the latest upstream MySQL 8.0 release (8.0.30 as of today) for some time: #10691 |
This reverts commit 06fc7a2. The upgrade/downgrade tests use the last release tag of the previous version (e.g. v14.0.1) instead of the previous version's release branch (e.g. release-14.0) so we can't remove this pinning until v14.0.2 is released. We also update the comment to reflect the true conditions that will allow us to remove this MySQL version pinning. Signed-off-by: Matt Lord <[email protected]>
Revert: Revert temporary workflow changes made in #10847
Description
The default location of the InnoDB redo logs changed to
<innodb_log_group_home_dir>/#innodb_redo/
in 8.0.30. From the 8.0.30 release notes:This PR alters the backups and tests to account for this change when 8.0.30+ is being used.
ℹ️ This PR also pins the version of MySQL used in the
Upgrade Downgrade Testing - Backups - Manual
workflow to 8.0.29 because v14.0 binaries do not have these fixes, and ubuntu-20.04 since MySQL has no 8.0.29 packages for 22.04. This pinning can be removed once either of the following occurs:vitessio/release-14
vitessio/main
has a dev version of v16.0.0-SNAPSHOTMy current tentative plan is to backport these fixes to at least v14. I would then do a follow-up PR on main to revert the changes made to the workflow (
.github/workflows/upgrade_downgrade_test_backups_manual.yml
).Related Issue(s)
Checklist