⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
extra
/
rpl_tests
/
View File Name :
rpl_mts_execute_partial_trx_in_relay_log.inc
# ==== Implementation ==== # # 1. Set debug point to rotate relay log after table_map_event. # 2. Wait for io thread to receive table_map_event and stop it. # 3. Start the io thread after it is stopped. # 4. Check that there is no failure on replication. # # Initial setup --source include/rpl_connection_master.inc CREATE TABLE t1(i INT) ENGINE=InnoDB; FLUSH LOGS; --source include/sync_slave_sql_with_master.inc # Set debug point to rotate relay log after table_map_event. SET @save_debug=@@global.debug; SET GLOBAL DEBUG='d,stop_io_after_reading_table_map_event'; --source include/rpl_connection_master.inc INSERT INTO t1 VALUES (1); --source include/rpl_connection_slave.inc # Wait for io thread to receive table_map_event and stop it. --source include/wait_for_slave_io_to_stop.inc SET GLOBAL DEBUG= @save_debug; # Start the io thread after it is stopped. --source include/start_slave_io.inc # Check that their is no failure on replication. --source include/rpl_connection_master.inc --source include/sync_slave_sql_with_master.inc # Cleanup --source include/rpl_connection_master.inc DROP TABLE t1; --source include/rpl_end.inc