diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-03-13 14:59:02 +0100 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-01 17:22:22 +0300 |
commit | 5a097c5556dffc1aec73616f58cecf9345d96050 (patch) | |
tree | fe7d4fb7a057477c773a527cec1ef1a28100a7e4 | |
parent | 9ed50ece339358fcd5ebd8089f3c780a75b5f520 (diff) | |
download | mariadb-git-5a097c5556dffc1aec73616f58cecf9345d96050.tar.gz |
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.
-rw-r--r-- | mysql-test/suite/mariabackup/incremental_backup.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/suite/mariabackup/incremental_backup.test b/mysql-test/suite/mariabackup/incremental_backup.test index 3e877af1398..88e277fd95a 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; |