Server IP : 172.67.216.182 / Your IP : 162.158.189.136 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/suite/rpl/r/ |
Upload File : |
include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection master] ######## Initialize ######## CREATE TABLE t1 (a INT) ENGINE = InnoDB; include/sync_slave_sql_with_master.inc ######## corruption_mode = 1 of 2 ######## Phase one: Generating logs include/rpl_reset.inc ======== restart_i = 1 of 2 ======== include/stop_slave.inc include/rpl_restart_server.inc [server_number=1 gtids=on parameters: --debug=d,skip_writing_previous_gtids_log_event] include/rpl_restart_server.inc [server_number=1 gtids=on] include/start_slave.inc -------- flush_i = 1 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (1); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 1 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 1 on master] -------- flush_i = 2 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (2); INSERT INTO t1 VALUES (3); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 3 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 3 on master] ======== restart_i = 2 of 2 ======== include/stop_slave.inc include/rpl_restart_server.inc [server_number=1 gtids=on parameters: --debug=d,skip_writing_previous_gtids_log_event] include/rpl_restart_server.inc [server_number=1 gtids=on] include/start_slave.inc -------- flush_i = 1 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (4); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 4 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 4 on master] -------- flush_i = 2 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (5); INSERT INTO t1 VALUES (6); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 6 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 6 on master] FLUSH LOGS; include/sync_slave_sql_with_master.inc ######## corruption_mode = 1 ######## Phase two: Purging logs ======== restart_i = 1 of 2 ======== include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 0 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 0 on master] -------- flush_i = 1 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 0 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 1 on master] -------- flush_i = 2 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 1 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] ======== restart_i = 2 of 2 ======== include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] -------- flush_i = 1 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 4 on master] -------- flush_i = 2 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 4 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 6 on master] ######## corruption_mode = 2 of 2 ######## Phase one: Generating logs include/rpl_reset.inc ======== restart_i = 1 of 2 ======== include/stop_slave.inc include/rpl_restart_server.inc [server_number=1 gtids=on] include/rpl_restart_server.inc [server_number=1 gtids=on] include/start_slave.inc -------- flush_i = 1 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (1); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 1 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 1 on master] -------- flush_i = 2 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (2); INSERT INTO t1 VALUES (3); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 3 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 3 on master] ======== restart_i = 2 of 2 ======== include/stop_slave.inc include/rpl_restart_server.inc [server_number=1 gtids=on] include/rpl_restart_server.inc [server_number=1 gtids=on] include/start_slave.inc -------- flush_i = 1 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (4); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 4 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 4 on master] -------- flush_i = 2 of 2 -------- FLUSH LOGS; INSERT INTO t1 VALUES (5); INSERT INTO t1 VALUES (6); FLUSH LOGS; [on slave] include/sync_slave_sql_with_master.inc include/assert.inc [no gtids lost yet on slave] include/assert.inc [committed gno 6 on slave] [on master] include/assert.inc [no gtids lost yet on master] include/assert.inc [committed gno 6 on master] FLUSH LOGS; include/sync_slave_sql_with_master.inc ######## corruption_mode = 2 ######## Phase two: Purging logs ======== restart_i = 1 of 2 ======== include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 0 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 0 on master] -------- flush_i = 1 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 0 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 1 on master] -------- flush_i = 2 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 1 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] ======== restart_i = 2 of 2 ======== include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] -------- flush_i = 1 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 3 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 4 on master] -------- flush_i = 2 of 2 -------- include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 4 on master] include/purge_first_log.inc include/assert.inc [lost gtids from 1 to 6 on master] ######## Clean up ######## DROP TABLE t1; include/rpl_end.inc