转载

【Xtrabackup捉虫】Waiting for master thread to be suspended



使用xtrabackup 2.4.6版本,在备份完成后,prepare阶段(apply-log的时候)会抛出该提示:

  1. xtrabackup: starting shutdown with innodb_fast_shutdown = 1
  2. InnoDB: FTS optimize thread exiting.
  3. InnoDB: Starting shutdown...
  4. InnoDB: Waiting for master thread to be suspended
  5. InnoDB: Waiting for master thread to be suspended
  6. InnoDB: Waiting for master thread to be suspended
  7. InnoDB: Waiting for master thread to be suspended
  8. InnoDB: Waiting for master thread to be suspended
  9. ………………………………


并且长时间等待仍然被hang住。

检查percona的bug库,发现这被判定为一个bug:

  1. https://bugs.launchpad.net/percona-xtrabackup/+bug/1671437

关于相关代码contributor的讨论如下:

  1. https://github.com/percona/percona-xtrabackup/pull/378

既然可能是bug,那么检查了一下当前最新的版本为2.4.8,检查relase note发现该bug已经得以修复:

【Xtrabackup捉虫】Waiting for master thread to be suspended



重新下载并使用当前最新版本的xtrabackup即可解决:
  1. https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.8/binary/tarball/percona-xtrabackup-2.4.8-Linux-x86_64.tar.gz





正文到此结束
Loading...