Details
-
Bug
-
Status: Stalled (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.2.24, 10.4.14
-
None
Description
Mariabackup consistently hangs when you load data into a table from another table while a full backup is running.
It hangs in the following phase:
[00] 2019-05-15 01:23:27 Waiting for log copy thread to read lsn 5607063606354
|
Before that, the following errors appear:
[00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
|
[00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
|
[00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
|
[00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
|
[00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
|
[00] 2019-05-15 00:25:44 xtrabackup_copy_logfile() failed.
|
This is regularly happening at a customer of ours.
I was able to reproduce in my lab as follows:
1. start a full backup
2. run insert into empytable select * from sbtest1;
Command line used for backup:
mariabackup --backup --user=root --password=xxx --parallel=4 --extra-lsndir=/tmp --stream=xbstream --target-dir=/tmp/2019-05-16/mariabackup
|
Isolation level: default (REPEATABLE-READ)
Attachments
Issue Links
- duplicates
-
MDEV-18611 mariabackup silently ended during xtrabackup_copy_logfile()
-
- Closed
-
- is duplicated by
-
MDEV-31399 mariabackup fails with large innodb redo log - block is overwritten
-
- Closed
-
- relates to
-
MDEV-14992 BACKUP: in-server backup
-
- Open
-
-
MDEV-23711 make mariabackup innodb redo log read error message more clear
-
- Closed
-
-
MDEV-34062 mariadb-backup --backup is extremely slow at copying ib_logfile0
-
- Closed
-
-
MDEV-17029 mariabackup fails under load with schema changes
-
- Closed
-
-
MDEV-18612 mariabackup: Error: xtrabackup_copy_logfile() failed.
-
- Closed
-
rpizzi yes it will go in 10.4 too. I hope it will be in the next 10.4 upcoming release. And yes, we can create special build for the customer. We need to know customer's platform and the version of MariaDB they use. But for 10.4 the steps to detect the problem, I mentioned above, must work without
MDEV-23711fix.I.e. if their backup log:
(does not contain "Invalid log block checksum." or "xtrabackup_copy_logfile() failed: corrupt log.") and
(innodb_log_checksums == 1 or redo log is encrypted),
then this is indeed the duplicate of
MDEV-18611.