mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
sporadic failures of galera.galera_sst_mariabackup
the test failed almost always in release (but not in debug) builds with
--- galera_sst_mariabackup.result
+++ galera_sst_mariabackup.reject
@@ -5,7 +5,7 @@
connection node_1;
select @@innodb_undo_tablespaces;
@@innodb_undo_tablespaces
-0
+3
connection node_2;
select @@innodb_undo_tablespaces;
@@innodb_undo_tablespaces
and
[Warning] InnoDB: Cannot change innodb_undo_tablespaces=0 because previous shutdown was not with innodb_fast_shutdown=0
because mariadbd *before this test* wasn't using innodb_fast_shutdown=0
Fix the bootstrap to use innodb_fast_shutdown=0 (and the bootstrap
creates a starting point for any test that uses a .cnf file)
followup for cac0fc97cc
also, remove redundant include/have_innodb.inc
This commit is contained in:
parent
f9807aadef
commit
466ae1cf81
5 changed files with 2 additions and 5 deletions
|
@ -13,10 +13,8 @@ if (!$galera_cluster_size)
|
|||
}
|
||||
|
||||
--source include/galera_init.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/galera_wait_ready.inc
|
||||
|
||||
|
||||
--let $_galera_node= $galera_cluster_size
|
||||
|
||||
while ($_galera_node != 1)
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
# To be used in a test which requires wsrep plugin to be ACTIVE and enabled
|
||||
# (i.e. wsrep_on=ON). It includes have_wsrep.inc.
|
||||
|
||||
--source include/have_innodb.inc
|
||||
|
||||
if (`SELECT COUNT(*)=0 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'wsrep_on' AND VARIABLE_VALUE='ON'`)
|
||||
{
|
||||
--skip Test requires wsrep_on=ON
|
||||
|
|
|
@ -3103,6 +3103,7 @@ sub mysql_install_db {
|
|||
# starting from 10.0 bootstrap scripts require InnoDB
|
||||
mtr_add_arg($args, "--loose-innodb");
|
||||
mtr_add_arg($args, "--loose-innodb-log-file-size=10M");
|
||||
mtr_add_arg($args, "--loose-innodb-fast-shutdown=0");
|
||||
mtr_add_arg($args, "--disable-sync-frm");
|
||||
mtr_add_arg($args, "--tmpdir=%s", "$opt_vardir/tmp/");
|
||||
mtr_add_arg($args, "--core-file");
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
--source include/big_test.inc
|
||||
--source include/galera_cluster.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_mariabackup.inc
|
||||
|
||||
# Save original auto_increment_offset values.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
--source include/have_innodb.inc
|
||||
--source include/have_wsrep_enabled.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
|
||||
|
|
Loading…
Reference in a new issue