mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
558f1eff64
The test mariabackup.mdev-14447 is inserting relatively much
data while concurrently backing up the data. The test often fails
on CI systems, possibly due to an inherent race condition between
the producer (server) and consumer (backup) that would be solved
if the backup was being produced by the server (MDEV-14992).
The written data volume was increased somewhat by
commit 4179f93d28
(MDEV-18976).
Let us trim the log volume by not writing PAGE_CHECKSUM records
or row-level undo log records, and make the test cover what was
intended to cover by creating the table in the system tablespace.
22 lines
710 B
Text
22 lines
710 B
Text
call mtr.add_suppression("InnoDB: New log files created");
|
|
SET GLOBAL innodb_file_per_table=0;
|
|
CREATE TABLE t(a varchar(40) PRIMARY KEY, b varchar(40), c varchar(40), d varchar(40), index(b,c,d)) ENGINE INNODB;
|
|
# Create full backup , modify table, then create incremental/differential backup
|
|
SET debug_dbug='+d,skip_page_checksum',foreign_key_checks=0,unique_checks=0;
|
|
BEGIN;
|
|
INSERT INTO t select uuid(), uuid(), uuid(), uuid() from seq_1_to_100000;
|
|
COMMIT;
|
|
SELECT count(*) FROM t;
|
|
count(*)
|
|
100000
|
|
# Prepare full backup, apply incremental one
|
|
# Restore and check results
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart server
|
|
# restart
|
|
SELECT count(*) FROM t;
|
|
count(*)
|
|
100000
|
|
DROP TABLE t;
|