Server IP : 104.21.38.3 / Your IP : 104.23.175.197 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] [connection slave] SET @saved_innodb_lock_wait_timeout = @@GLOBAL.innodb_lock_wait_timeout; SET GLOBAL innodb_lock_wait_timeout = 1000; include/restart_slave.inc [connection master] CREATE TABLE t1(c1 INT PRIMARY KEY); CREATE TABLE t2(c1 INT PRIMARY KEY); include/sync_slave_sql_with_master.inc BEGIN; INSERT INTO t1 VALUES(1); [connection slave1] BEGIN; INSERT INTO t2 VALUES(1); [connection master] SET debug = '+d,set_commit_parent_100'; INSERT INTO t1 VALUES(1); INSERT INTO t2 VALUES(1); SET debug = '-d,set_commit_parent_100'; INSERT INTO t1 VALUES(2); SET debug = '+d,logical_clock_step_2'; INSERT INTO t1 VALUES(3); SET debug = '-d,logical_clock_step_2'; include/save_master_pos.inc [connection slave] SET GLOBAL debug = '+d,slave_worker_ends_group_before_signal_lwm'; ROLLBACK; SET GLOBAL debug = '-d,slave_worker_ends_group_before_signal_lwm'; SET GLOBAL debug = '+d,wait_for_workers_to_finish_after_wait'; [connection slave1] ROLLBACK; SET debug_sync='now SIGNAL worker_continue'; SET debug_sync='now SIGNAL coordinator_continue'; include/sync_slave_sql.inc SET GLOBAL debug = '-d,wait_for_workers_to_finish_after_wait'; [connection slave] SET GLOBAL innodb_lock_wait_timeout = @saved_innodb_lock_wait_timeout; [connection master] DROP TABLE t1, t2; include/rpl_end.inc