Server IP : 104.21.38.3 / Your IP : 172.71.81.144 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 : |
# === HITTING CRASH WHEN USING SEMISYNC MODE WITH SSL OPTIONS === # # With the bug, semisync did not compile with SSL. # The following CREATE TABLE as written below crashed with # invalid memory access. --source include/not_group_replication_plugin.inc --source include/have_innodb.inc --source include/master-slave.inc --source include/have_semisync_plugin.inc --source include/install_semisync.inc call mtr.add_suppression(".*Semi-sync master failed on net_flush.*before waiting for slave reply.*"); call mtr.add_suppression(".*Timeout waiting for reply of binlog .* semi-sync up to file .*"); --source include/sync_slave_sql_with_master.inc --source include/rpl_connection_slave.inc --source include/stop_slave.inc CHANGE MASTER TO MASTER_SSL = 1; --source include/start_slave.inc --echo --echo # Try replicating CREATE TABLE and verify that everything is fine. --echo --source include/rpl_connection_master.inc USE test; CREATE TABLE table1 (a INT); --source include/sync_slave_sql_with_master.inc --echo --echo # STOP SLAVE and verify that replication works fine when slave resumes. --echo --source include/stop_slave_io.inc --source include/rpl_connection_master.inc INSERT INTO table1 VALUES(1); --source include/rpl_connection_slave.inc --source include/start_slave_io.inc --echo --echo # RE-START SLAVE and execute on master, verify that replication works fine. --echo --source include/rpl_connection_master.inc INSERT INTO table1 VALUES(2); --source include/sync_slave_sql_with_master.inc --let $assert_text= Slave should have 2 rows(1,2) --let $assert_cond= `SELECT COUNT(*)=2 from table1` --source include/assert.inc --echo --echo # Clean-up --echo --source include/rpl_connection_master.inc DROP TABLE table1; --source include/sync_slave_sql_with_master.inc --source include/uninstall_semisync.inc --source include/stop_slave.inc CHANGE MASTER TO MASTER_SSL = 0; --let $rpl_only_running_threads= 1 --source include/rpl_end.inc