Skip to content

Commit 57de4de

Browse files
committed
MDEV-21222 mariabackup.incremental_backup failed with memory allocation failure
mariabackup tries to allocate a buffer of page_size*page_size/4 size. for 64k page it means 1Gb, which doesn't work very well on 32-bit builders. Skip the 64k page test on 32bit.
1 parent 422ba20 commit 57de4de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mysql-test/suite/mariabackup/incremental_backup.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
--source include/have_aria.inc
22
--source include/innodb_page_size.inc
33

4+
# see suite.pm "check for exact values, in case the default changes to be small everywhere"
5+
if (`select @@max_binlog_stmt_cache_size = 4294963200 and @@innodb_page_size = 65536`) {
6+
skip skipped on 32bit; # tries to allocate 1GB of memory
7+
}
8+
49
call mtr.add_suppression("InnoDB: New log files created");
510

611
let basedir=$MYSQLTEST_VARDIR/tmp/backup;

0 commit comments

Comments
 (0)