| 1 |
include/rpl_init.inc [topology=1->2->1] |
| 2 |
include/rpl_connect.inc [creating M4] |
| 3 |
include/rpl_connect.inc [creating M2] |
| 4 |
connection M2; |
| 5 |
STOP SLAVE; |
| 6 |
SET @old_debug= @@global.debug_dbug; |
| 7 |
SET GLOBAL debug_dbug= "d,dbug.rows_events_to_delay_relay_logging"; |
| 8 |
START SLAVE IO_THREAD; |
| 9 |
include/wait_for_slave_io_to_start.inc |
| 10 |
connection M2; |
| 11 |
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b VARCHAR(30000)) ENGINE=innodb CHARSET=latin1; |
| 12 |
connection M4; |
| 13 |
connection M4; |
| 14 |
INSERT INTO `t1` VALUES (null, repeat('a', 1024)), (null, repeat('b', 1024)); |
| 15 |
connection M2; |
| 16 |
SET debug_sync='now WAIT_FOR start_sql_thread'; |
| 17 |
START SLAVE SQL_THREAD; |
| 18 |
include/show_binlog_events.inc |
| 19 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 20 |
slave-bin.000001 # Gtid # # GTID #-#-# |
| 21 |
slave-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b VARCHAR(30000)) ENGINE=innodb CHARSET=latin1 |
| 22 |
SET debug_sync='now SIGNAL go_on_relay_logging'; |
| 23 |
connection M4; |
| 24 |
connection M4; |
| 25 |
connection M2; |
| 26 |
connection M2; |
| 27 |
include/show_binlog_events.inc |
| 28 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 29 |
slave-bin.000001 # Gtid # # GTID #-#-# |
| 30 |
slave-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b VARCHAR(30000)) ENGINE=innodb CHARSET=latin1 |
| 31 |
slave-bin.000001 # Gtid # # BEGIN GTID #-#-# |
| 32 |
slave-bin.000001 # Annotate_rows # # INSERT INTO `t1` VALUES (null, repeat('a', 1024)), (null, repeat('b', 1024)) |
| 33 |
slave-bin.000001 # Table_map # # table_id: # (test.t1) |
| 34 |
slave-bin.000001 # Write_rows_v1 # # table_id: # |
| 35 |
slave-bin.000001 # Write_rows_v1 # # table_id: # flags: STMT_END_F |
| 36 |
slave-bin.000001 # Xid # # COMMIT /* XID */ |
| 37 |
connection M4; |
| 38 |
drop table t1; |
| 39 |
connection M2; |
| 40 |
SET GLOBAL debug_dbug= @old_debug; |
| 41 |
SET debug_sync='RESET'; |
| 42 |
include/rpl_end.inc |