xtrabackup have error log block numbers mismatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
New
|
Undecided
|
Unassigned | ||
2.1 |
New
|
Undecided
|
Unassigned | ||
2.2 |
New
|
Undecided
|
Unassigned |
Bug Description
Good day!
When using the tool (with a similar load) sometimes get the error:
xtrabackup: error: log block numbers mismatch:
xtrabackup: error: expected log block no. 217388165, but got no. 250942589 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_
innobackupex: got a fatal error with the following stacktrace: at / usr / local / bin / innobackupex line 2694.
main :: wait_for_
main :: wait_for_
main :: backup () called at / usr / local / bin / innobackupex line 1592
innobackupex: Error: The xtrabackup child process has died at / usr / local / bin / innobackupex line 2694.
I tried to run a backup with a similar load of about 15 times
In some cases, the backup is successful (approx. 50%)
Transmission media - 1 Gbit/s
Database size about 900Gb
innodb_
InnoDB Backup Utility v1.5.1-xtrabackup
xtrabackup version 2.2.7
(binaries from http://
Percona server ver 5.6.21.70.0 (gentoo portages)
Changed in percona-xtrabackup: | |
status: | Incomplete → New |
Eugene,
Some back-of- the-envelope calculations show that with the given database size, innodb_ log_file_ size and transfer bandwidth the redo log size can be overrun with the average redo log write rate of just 2.25 MB/sec. Which doesn't look much, as in there are good chances your average load during the backup is higher in 50% cases.
Do you have an estimate on the average redo generation rate on that server? You can find tips on how to figure it out in this post: http:// www.percona. com/blog/ 2012/10/ 08/measuring- the-amount- of-writes- in-innodb- redo-logs/