使用innobackupex备份遇到以下错误:
xtrabackup: error: log block numbers mismatch:
xtrabackup: error: expected log block no. 665497466, but got no. 673689450 from the log file.
xtrabackup: error: it looks like InnoDB log has wrapped around before xtrabackup could process all records due to either log copying being too slow, or log files being too small.
xtrabackup: Error: xtrabackup_copy_logfile() failed.
备份原因在innobackupex的输出信息中已经有说明,
log block numbers mismatch,备份时在尝试读取特定的Redo块时找不到;
expected log block no. 665497466, but got no. 673689450 from the log file,本应该读取的redo 块是no. 665497466,但是只能获取到no. 673689450
it looks like InnoDB log has wrapped around before xtrabackup could process all records due to either log copying being too slow, or log files being too small,
读redo错误的原因,要么innobackupex读取redo的速度太慢了,或者redo 文件太小了,导致读取速度跟不上redo文件的切换速度,在读取之前,相应的redo块已经被覆盖了。