Debian Codegraph @

mysql-test/suite/rpl/r/rpl_semi_sync_skip_repl.result

raw
1 include/master-slave.inc
2 [connection master]
3 connection master;
4 call mtr.add_suppression("Timeout waiting for reply of binlog");
5 SET @@GLOBAL.rpl_semi_sync_master_enabled = 1;
6 SET @@GLOBAL.rpl_semi_sync_master_timeout=100;
7 connection slave;
8 include/stop_slave.inc
9 SET @@GLOBAL.replicate_events_marked_for_skip=FILTER_ON_MASTER;
10 SET @@GLOBAL.rpl_semi_sync_slave_enabled = 1;
11 include/start_slave.inc
12 connection master;
13 CREATE TABLE t1 (a INT) ENGINE=innodb;
14 SET @saved_dbug = @@GLOBAL.debug_dbug;
15 SET @@GLOBAL.debug_dbug="d,dbug_master_binlog_over_2GB";
16 SET @@SESSION.skip_replication=1;
17 INSERT INTO t1 SET a=1;
18 SET @@SESSION.skip_replication=0;
19 INSERT INTO t1 SET a=0;
20 SET @@GLOBAL.debug_dbug="";
21 FLUSH LOGS;
22 connection slave;
23 connection master;
24 SET @@GLOBAL.debug_dbug = @saved_dbug;
25 SET @@GLOBAL.rpl_semi_sync_master_timeout = 10000;
26 SET @@GLOBAL.rpl_semi_sync_master_enabled = 0;
27 connection master;
28 DROP TABLE t1;
29 connection slave;
30 include/stop_slave.inc
31 SET @@GLOBAL.rpl_semi_sync_slave_enabled = 0;
32 SET @@GLOBAL.replicate_events_marked_for_skip = REPLICATE;
33 include/start_slave.inc
34 include/rpl_end.inc