Skip to content

Commit

Permalink
MDEV-21222 mariabackup.incremental_backup failed with memory allocati…
Browse files Browse the repository at this point in the history
…on 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.
  • Loading branch information
vuvova authored and dr-m committed Jul 1, 2020
1 parent 9ed50ec commit 5a097c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mysql-test/suite/mariabackup/incremental_backup.test
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 5a097c5

Please sign in to comment.