【Xtrabackup捉虫】Waiting for master thread to be suspended
使用xtrabackup 2.4.6版本,在备份完成后,prepare阶段(apply-log的时候)会抛出该提示:
-
xtrabackup: starting shutdown with innodb_fast_shutdown = 1
-
InnoDB: FTS optimize thread exiting.
-
InnoDB: Starting shutdown...
-
InnoDB: Waiting for master thread to be suspended
-
InnoDB: Waiting for master thread to be suspended
-
InnoDB: Waiting for master thread to be suspended
-
InnoDB: Waiting for master thread to be suspended
-
InnoDB: Waiting for master thread to be suspended
-
………………………………
-
并且长时间等待仍然被hang住。
检查percona的bug库,发现这被判定为一个bug:
-
https://bugs.launchpad.net/percona-xtrabackup/+bug/1671437
关于相关代码contributor的讨论如下:
-
https://github.com/percona/percona-xtrabackup/pull/378
既然可能是bug,那么检查了一下当前最新的版本为2.4.8,检查relase note发现该bug已经得以修复:
重新下载并使用当前最新版本的xtrabackup即可解决:
-
https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.8/binary/tarball/percona-xtrabackup-2.4.8-Linux-x86_64.tar.gz
正文到此结束