Server IP : 104.21.38.3 / Your IP : 172.71.152.64 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/t/ |
Upload File : |
############################################################################## # BUG#19507923: CANNOT DO POSITIONS SYNC WHEN AUTO_POSITION IS ON # # Purpose of the test: # # 1. Start replication with gtid-mode= on and master_auto_position= 1. # 2. Re-start master with gtid-mode= on and master_auto_position= 1. # 3. At slave, select master_pos_wait() with # pos= end log position of previous gtid log event in the latest # binary log at master. # 4. Verify that the slave does not hang on sync with the master. # --source include/have_gtid.inc --source include/have_binlog_format_statement.inc --echo # --echo # Step 1: setup replication --echo # --source include/master-slave.inc --echo # --echo # Step 2: restart Master --echo # --let $rpl_server_number= 1 --let $rpl_start_with_gtids= 1 --source include/rpl_restart_server.inc --echo # --echo # Step 3: Wait on positions by setting ignore_gtids_on_sync= 1. --echo # The sync_slave_sql_with_master.inc will call MASTER_POS_WAIT() --echo # internally verifying the fix. --echo # --connection master --let $ignore_gtids_on_sync= 1 --source include/sync_slave_sql_with_master.inc --let $ignore_gtids_on_sync= 0 --source include/rpl_end.inc