summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/r/rpl_shutdown_wait_semisync_slaves.result
blob: cecc3daf3409c8817facb61c0c2e84879f9ca097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
include/rpl_init.inc [topology=1->2, 1->3, 1->4]
connection server_1;
call mtr.add_suppression("Timeout waiting for reply of binlog");
SET @@GLOBAL.rpl_semi_sync_master_enabled = 1;
connection server_2;
set global rpl_semi_sync_slave_enabled = 1;
include/stop_slave.inc
include/start_slave.inc
set global rpl_semi_sync_slave_enabled = 1;
connection server_3;
set global rpl_semi_sync_slave_enabled = 1;
include/stop_slave.inc
include/start_slave.inc
set global rpl_semi_sync_slave_enabled = 1;
connection server_1;
CREATE TABLE t1 (a INT) ENGINE=innodb;
connection server_2;
connection server_3;
connection server_4;
include/stop_slave.inc
connection server_1;
connection server_1;
SET @@GLOBAL.debug_dbug="+d,simulate_delay_at_shutdown";
connection server_4;
include/start_slave.inc
connection server_1;
SHUTDOWN WAIT FOR ALL SLAVES;
connection server_4;
connection server_3;
connection server_2;
connection server_1;
connection default;
connection server_1;
connection server_1;
DROP TABLE t1;
connection server_2;
include/start_slave.inc
connection server_3;
include/start_slave.inc
connection server_4;
include/start_slave.inc
connection server_2;
include/stop_slave.inc
include/start_slave.inc
SET @@GLOBAL.rpl_semi_sync_slave_enabled = 0;;
connection server_3;
include/stop_slave.inc
include/start_slave.inc
SET @@GLOBAL.rpl_semi_sync_slave_enabled = 0;;
connection server_1;
SET @@GLOBAL.rpl_semi_sync_master_enabled = 0;
include/rpl_end.inc