mirror of
https://github.com/MariaDB/server.git
synced 2025-04-26 11:49:09 +03:00
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 cac0fc97cca4 also, remove redundant include/have_innodb.inc
30 lines
580 B
PHP
30 lines
580 B
PHP
# galera_cluster.inc
|
|
# ==================
|
|
#
|
|
# Description
|
|
# -----------
|
|
# Configure galera cluster with $galera_cluster_size (default: 2) nodes.
|
|
#
|
|
|
|
if (!$galera_cluster_size)
|
|
{
|
|
# --die ERROR IN TEST: $galera_cluster_size variable must be set
|
|
--let $galera_cluster_size = 2
|
|
}
|
|
|
|
--source include/galera_init.inc
|
|
--source include/galera_wait_ready.inc
|
|
|
|
--let $_galera_node= $galera_cluster_size
|
|
|
|
while ($_galera_node != 1)
|
|
{
|
|
--connection node_$_galera_node
|
|
--source include/galera_wait_ready.inc
|
|
--source include/have_innodb.inc
|
|
|
|
--dec $_galera_node
|
|
}
|
|
|
|
--connection node_1
|