Hi
I am having some warning and I am trying to identify if this is a real problem.
So, I am backing up MySQL 8.0.40, using Percona xtrabackup 8.0.35-31 on Oracle Linux 8.10.
The data size is big (above 30T). The server is read only replica (statement based).
Here is the backup command and parameters:
time xtrabackup --no-defaults --backup --compress
–parallel=8 --compress-threads=8 --register-redo-log-consumer
–host=localhost --socket=/srv/ppp/run/mysqld_ppp.sock --port=3306 --slave-info=1 --target-dir=/srv/backup/ppp/current_db
2>&1 | tee /srv/backup/ppp/_xb.log
And here is part of the xtrabackup log that is worrying me:
2024-11-13T18:44:14.319679+02:00 1 [Note] [MY-011825] [Xtrabackup] >> log scanned up to (414897578011176)
2024-11-13T18:44:15.324610+02:00 1 [Warning] [MY-011825] [Xtrabackup] Log block checksum mismatch (block no 0 at lsn 414897584118272): expected 0, calculated checksum 3965168067 block epoch no: 0
2024-11-13T18:44:15.324731+02:00 1 [Warning] [MY-011825] [Xtrabackup] this is possible when the log block has not been fully written by the server, will retry later.
2024-11-13T18:44:15.412399+02:00 1 [Note] [MY-011825] [Xtrabackup] >> log scanned up to (414897584118272)
I usually see this in 1-2 minutes after I start the backup.
My redo log size was 4G, I even increased it to 20G (innodb_redo_log_capacity) but this did not help.
I doubt that it’s related to the redo logs size, because I have never seen it being used more than 2G (Innodb_redo_log_logical_size status var) at any time. Also I have --register-redo-log-consumer parameter for xtrabackup, just in case.
Although I think I have enough IO, I played with different number of threads 1/2/4/8, and also tried not using compression at all, but this generally just changes the time I need to wait in order to see the warning.
For now I don’t have complete backup that to try to prepare, so I dont know if this is a real problem or just a warning.
Please help
Regards,
Georgi