summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/galera/t/mysql-wsrep#247.test
blob: 8bcd58607a1a89a38705b7ea0f7f8ce5223fddaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
--sleep 1
DROP TABLE t1;
SHOW VARIABLES LIKE 'wsrep_desync';