| 1 |
--source include/big_test.inc |
| 2 |
--source include/galera_cluster.inc |
| 3 |
--source include/have_innodb.inc |
| 4 |
--source include/have_mariabackup.inc |
| 5 |
|
| 6 |
# Save original auto_increment_offset values. |
| 7 |
--let $node_1=node_1 |
| 8 |
--let $node_2=node_2 |
| 9 |
--source include/auto_increment_offset_save.inc |
| 10 |
|
| 11 |
--connection node_1 |
| 12 |
select @@innodb_undo_tablespaces; |
| 13 |
|
| 14 |
--connection node_2 |
| 15 |
select @@innodb_undo_tablespaces; |
| 16 |
|
| 17 |
--source suite/galera/include/galera_st_shutdown_slave.inc |
| 18 |
--source suite/galera/include/galera_st_clean_slave.inc |
| 19 |
|
| 20 |
--source suite/galera/include/galera_st_kill_slave.inc |
| 21 |
--source suite/galera/include/galera_st_kill_slave_ddl.inc |
| 22 |
|
| 23 |
--connection node_2 |
| 24 |
--echo Shutting down server ... |
| 25 |
--source include/shutdown_mysqld.inc |
| 26 |
|
| 27 |
--connection node_1 |
| 28 |
--let $wait_condition = SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size' |
| 29 |
--source include/wait_condition.inc |
| 30 |
|
| 31 |
--connection node_2 |
| 32 |
--echo Starting server ... |
| 33 |
--source include/start_mysqld.inc |
| 34 |
|
| 35 |
--connection node_1 |
| 36 |
--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size' |
| 37 |
--source include/wait_condition.inc |
| 38 |
|
| 39 |
--connection node_2 |
| 40 |
select @@innodb_undo_tablespaces; |
| 41 |
|
| 42 |
call mtr.add_suppression("InnoDB: Cannot change innodb_undo_tablespaces=3 because previous shutdown was not with innodb_fast_shutdown=0"); |
| 43 |
|
| 44 |
# Restore original auto_increment_offset values. |
| 45 |
--source include/auto_increment_offset_restore.inc |
| 46 |
|
| 47 |
--source include/galera_end.inc |