Server IP : 172.67.216.182 / Your IP : 162.158.108.167 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#26027024 SLAVE_COMPRESSED_PROTOCOL DOESN'T WORK WITH SEMI-SYNC # REPLICATION IN MYSQL-5.7 # # Steps to reproduce: # 1) Set slave_compressed_protocol ON on Slave. # 2) Do some sample work on Master # 3) After the work is synced on Slave, check that there is no error # (Read semi-sync reply magic number error) on Slave. # 4) Cleanup ################################################################################ # Test is independent of Binlog format. One of the three formats is enough # for testing. Choosing 'Row' format. --source include/have_binlog_format_row.inc --source include/not_group_replication_plugin.inc --source include/master-slave.inc --source include/install_semisync.inc # Do some sample work on Master with slave_compressed_protocol ON. # (slave_compressed_protocol is set to ON in -slave.opt file of this test.) CREATE TABLE t1 (i INT); DROP TABLE t1; # Make sure sync is done, so that next 'assert' step can be executed without # any issues. --source include/rpl_sync.inc # Without the fix, the test would have generated few # errors in the error log. With the fix, test will # pass without any errors in the error log. --let $assert_text= Check that there is no 'Read semi-sync reply magic number error' in error log. --let $assert_select=Read semi-sync reply magic number error --let $assert_file= $MYSQLTEST_VARDIR/log/mysqld.1.err --let $assert_count= 0 --let $assert_only_after = CURRENT_TEST:rpl.rpl_semi_sync_slave_compressed_protocol.test --source include/assert_grep.inc # Cleanup --source include/uninstall_semisync.inc --source include/rpl_end.inc