mariadb/mysql-test/suite/mariabackup/huge_lsn.result
Thirunarayanan Balathandayuthapani e80183dbd5 MDEV-15662 mariabackup.huge_lsn fails sporadically with "log sequence number is in the future"
- Problem is that test case creates iblogfile* files. So existing
ibdata pages could point to future LSN. Fix is that taking the
backup of data before iblogfile* creation and apply it before
exiting the test case.
2020-07-14 13:24:37 +05:30

23 lines
549 B
Text

#
# MDEV-13416 mariabackup fails with EFAULT "Bad Address"
#
call mtr.add_suppression("InnoDB: New log files created");
FOUND /InnoDB: New log files created, LSN=175964\d{8}/ in mysqld.1.err
CREATE TABLE t(i INT) ENGINE INNODB;
INSERT INTO t VALUES(1);
# xtrabackup backup
SET GLOBAL innodb_flush_log_at_trx_commit=1;
INSERT INTO t VALUES(2);
# xtrabackup prepare
# shutdown server
# remove datadir
# xtrabackup move back
# restart server
SELECT * FROM t;
i
1
DROP TABLE t;
# shutdown server
# remove datadir
# xtrabackup move back
# restart server