Debian Codegraph @

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

raw
1 include/master-slave.inc
2 [connection master]
3 call mtr.add_suppression("Replication event checksum verification failed");
4 call mtr.add_suppression("could not queue event from master");
5 call mtr.add_suppression("Semisync ack receiver.*error reading communication packets");
6 call mtr.add_suppression("Semisync ack receiver got hangup");
7 connection slave;
8 #
9 # Set up a semisync connection
10 connection master;
11 set @@global.rpl_semi_sync_master_enabled= ON;
12 connection slave;
13 stop slave io_thread;
14 set @@global.rpl_semi_sync_slave_enabled= ON;
15 set @old_dbug= @@global.debug_dbug;
16 set @@global.debug_dbug= "+d,corrupt_queue_event";
17 set @@global.debug_dbug= "+d,pause_before_io_read_event";
18 set @@global.debug_dbug= "+d,placeholder";
19 start slave io_thread;
20 # Disable semi-sync on the slave while the IO thread is active
21 set debug_sync='now wait_for io_thread_at_read_event';
22 set @@global.rpl_semi_sync_slave_enabled= OFF;
23 set debug_sync='now signal io_thread_continue_read_event';
24 # Waiting for the slave to stop with the error from corrupt_queue_event
25 connection slave;
26 include/wait_for_slave_io_error.inc [errno=1595,1743]
27 # Sleep 1 to give time for Ack_receiver to receive COM_QUIT
28 include/assert_grep.inc [Check that there is no 'Read semi-sync reply magic number error' in error log.]
29 #
30 # Cleanup
31 connection slave;
32 include/stop_slave.inc
33 set @@global.debug_dbug= @old_dbug;
34 include/start_slave.inc
35 connection master;
36 set @@global.rpl_semi_sync_master_enabled= default;
37 include/rpl_end.inc
38 # End of rpl_semi_sync_slave_enabled_consistent.test