-
Notifications
You must be signed in to change notification settings - Fork 84
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
mysql第三个pod启动时报错[ERROR] [MY-011825] [Xtrabackup] cannot open ./xtrabackup_checkpoints #822
Comments
请做如下动作:
|
这是来自QQ邮箱的假期自动回复邮件。
您好,邮件我已收到,尽快给您回复。
|
报错日志是init-sidecar里面的 |
operator 是什么版本? |
|
另外是不是percona-server的版本要跟xtrabackup的版本保持一致才行 |
对,必须一致。 |
好的,谢谢 |
operator image:2.3.0
mysql image:percona/percona-server:8.0.33
报错日志如下:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 18 0 18 0 0 204 0 --:--:-- --:--:-- --:--:-- 204
xb_stream_read_chunk(): wrong chunk magic at offset 0x0.
exit code: 1
1.6954081598559616e+09 INFO sidecar mysql is not initialized, use shell script copying plugin.cnf
1.6954081598562207e+09 INFO sidecar xtrabackup prepare apply-log only
2023-09-22T18:42:39.874633-00:00 0 [Note] [MY-011825] [Xtrabackup] recognized client arguments: --use-memory=3072M --prepare=1 --apply-log-only=1 --target-dir=/var/lib/mysql
xtrabackup version 8.0.29-22 based on MySQL server 8.0.29 Linux (x86_64) (revision id: c31e7ddcce3)
2023-09-22T18:42:39.874710-00:00 0 [Note] [MY-011825] [Xtrabackup] cd to /var/lib/mysql/
2023-09-22T18:42:39.874729-00:00 0 [ERROR] [MY-011825] [Xtrabackup] cannot open ./xtrabackup_checkpoints
2023-09-22T18:42:39.874736-00:00 0 [ERROR] [MY-011825] [Xtrabackup] failed to read metadata from './xtrabackup_checkpoints'
1.6954081598759935e+09 ERROR sidecar init command failed {"error": "failed to execute Clone Restore : failed to xtrabackup prepare apply-log-only : exit status 1"}
github.com/radondb/radondb-mysql-kubernetes/sidecar.NewInitCommand.func1
/workspace/sidecar/init.go:53
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:860
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/[email protected]/command.go:974
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
main.main
/workspace/cmd/sidecar/main.go:96
runtime.main
/usr/local/go/src/runtime/proc.go:255
The text was updated successfully, but these errors were encountered: