mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
refs MW-246
- created mtr test for testing explicit desyncing with RSU mode DDL
This commit is contained in:
parent
4bdf0258b6
commit
13627d49a9
2 changed files with 34 additions and 0 deletions
11
mysql-test/suite/galera/r/mysql-wsrep#247.result
Normal file
11
mysql-test/suite/galera/r/mysql-wsrep#247.result
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
SET GLOBAL wsrep_desync=1;
|
||||
SET wsrep_OSU_method=RSU;
|
||||
CREATE TABLE t1 (i int primary key);
|
||||
SHOW VARIABLES LIKE 'wsrep_desync';
|
||||
Variable_name Value
|
||||
wsrep_desync ON
|
||||
SET GLOBAL wsrep_desync=0;
|
||||
DROP TABLE t1;
|
||||
SHOW VARIABLES LIKE 'wsrep_desync';
|
||||
Variable_name Value
|
||||
wsrep_desync OFF
|
||||
23
mysql-test/suite/galera/t/mysql-wsrep#247.test
Normal file
23
mysql-test/suite/galera/t/mysql-wsrep#247.test
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#
|
||||
# codership/mysql-wsrep/247 MW-246 -
|
||||
# DDL with RSU fails if node is desynced upfont
|
||||
#
|
||||
|
||||
--source include/galera_cluster.inc
|
||||
--source include/have_innodb.inc
|
||||
|
||||
--connection node_1
|
||||
|
||||
SET GLOBAL wsrep_desync=1;
|
||||
|
||||
SET wsrep_OSU_method=RSU;
|
||||
|
||||
CREATE TABLE t1 (i int primary key);
|
||||
|
||||
SHOW VARIABLES LIKE 'wsrep_desync';
|
||||
|
||||
SET GLOBAL wsrep_desync=0;
|
||||
|
||||
DROP TABLE t1;
|
||||
SHOW VARIABLES LIKE 'wsrep_desync';
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue