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

Bug Report: XtraBackup with MySQL 8.4 #17519

Open
L3o-pold opened this issue Jan 14, 2025 · 6 comments · May be fixed by #17529
Open

Bug Report: XtraBackup with MySQL 8.4 #17519

L3o-pold opened this issue Jan 14, 2025 · 6 comments · May be fixed by #17529

Comments

@L3o-pold
Copy link
Collaborator

L3o-pold commented Jan 14, 2025

Overview of the Issue

After upgrading from MySQL 8.0 to MySQL 8.4, backup are now longer working with vitess/lite:v21.0.1 docker image.

Reproduction Steps

Deploy a cluster with MySQL 8.4 and vitess/lite:v21.0.1.

Run vtctldclient --server=localhost:15999 --alsologtostderr BackupShard --concurrency=1 commerce/-80

See the error: time:{seconds:1736873755 nanoseconds:644556941} file:"xtrabackupengine.go" line:416 value:"xtrabackup stderr: 2025-01-14T16:55:55.644443-00:00 0 [ERROR] [MY-011825] [Xtrabackup] This version of Percona XtraBackup can only perform backups and restores against MySQL 8.0 and Percona Server 8.0"

Binary Version

Docker image Version: 21.0.1 (Git revision 3d4f41db2fbc32611c7d2ea2af3dc68b9d962415 branch 'HEAD') built on Tue Dec  3 05:32:30 UTC 2024 by vitess@buildkitsandbox using go1.23.3 linux/amd64

Operating System and Environment details

docker

Log Fragments

time:{seconds:1736873755 nanoseconds:644556941} file:"xtrabackupengine.go" line:416 value:"xtrabackup stderr: 2025-01-14T16:55:55.644443-00:00 0 [ERROR] [MY-011825] [Xtrabackup] This version of Percona XtraBackup can only perform backups and restores against MySQL 8.0 and Percona Server 8.0"
@L3o-pold L3o-pold added Type: Bug Needs Triage This issue needs to be correctly labelled and triaged labels Jan 14, 2025
@L3o-pold
Copy link
Collaborator Author

seems like we "miss" a 8.4 bootstrap image https://github.com/vitessio/vitess/tree/main/docker/bootstrap 🤔

@mattlord mattlord added Component: Docker and removed Needs Triage This issue needs to be correctly labelled and triaged labels Jan 14, 2025
@frouioui
Copy link
Member

That's a good point. We don't publish any lite image that contains MySQL84.

We stopped using bootstrap for lite, now we would have to modify the docker/utils/install_dependencies.sh script to include install steps for 8.4 and add a new Dockerfile under docker/lite for 84 that uses the new path in the install_dependencies script. This new Dockerfile would be built and pushed like the other images in the Build Docker Images workflow.

@L3o-pold
Copy link
Collaborator Author

Are we interested in making this? A new image for now, and maybe in the future making this the default (for lite image) as MySQL 8.4 is LTS?

@frouioui
Copy link
Member

I think we are interested in doing this for now, yes. The long term goal was to eventually get rid of mysqld in the lite image but that happened to be more challenging than it needs, specially with vtop and other mysql dependencies we ship (xtrabackup, mysqlsh, mysqlbinlog, etc).

@L3o-pold
Copy link
Collaborator Author

I will draft a PR this week then

@frouioui
Copy link
Member

Awesome, much appreciated 🙏🏻

@mattlord mattlord moved this from To do to In progress in Cluster Management Jan 14, 2025
@L3o-pold L3o-pold linked a pull request Jan 15, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

3 participants