mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
c89c49427d
There is an inherent race condition between Mariabackup and the MariaDB server when the InnoDB redo log is being copied. It is possible that the tail of the circular redo log is overwriting the head of the log before Mariabackup gets a chance to read it. So, we reduce the test to generate less redo log. Also, enable the test on all supported innodb_page_size.
14 lines
291 B
Text
14 lines
291 B
Text
CREATE TABLE t1(c1 INT, b VARCHAR(2400), index(b(100),c1))
|
|
ENGINE=INNODB ROW_FORMAT=compressed ENCRYPTED=YES;
|
|
BEGIN;
|
|
COMMIT;
|
|
# xtrabackup backup
|
|
drop table t1;
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart server
|
|
select sum(c1) from t1;
|
|
sum(c1)
|
|
12497500
|
|
DROP TABLE t1;
|