From 5a097c5556dffc1aec73616f58cecf9345d96050 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 13 Mar 2020 14:59:02 +0100 Subject: [PATCH] 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. --- mysql-test/suite/mariabackup/incremental_backup.test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mysql-test/suite/mariabackup/incremental_backup.test b/mysql-test/suite/mariabackup/incremental_backup.test index 3e877af139845..88e277fd95a2f 100644 --- a/mysql-test/suite/mariabackup/incremental_backup.test +++ b/mysql-test/suite/mariabackup/incremental_backup.test @@ -1,6 +1,11 @@ --source include/have_aria.inc --source include/innodb_page_size.inc +# see suite.pm "check for exact values, in case the default changes to be small everywhere" +if (`select @@max_binlog_stmt_cache_size = 4294963200 and @@innodb_page_size = 65536`) { + skip skipped on 32bit; # tries to allocate 1GB of memory + } + call mtr.add_suppression("InnoDB: New log files created"); let basedir=$MYSQLTEST_VARDIR/tmp/backup;