Server IP : 172.67.216.182 / Your IP : 162.158.88.166 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/mysql-test/suite/group_replication/t/ |
Upload File : |
################################################################################ # Validate that Group Replication behaves properly when SQL service does fail. # # Test: # 0. The test requires one servers: M1. # 1. Start GR. Force SQL Service to return error failing Start GR. # 2. Start GR successfully now. # 3. Clean up. ################################################################################ --source include/have_debug.inc --source ../inc/have_group_replication_plugin.inc --let $rpl_skip_group_replication_start= 1 --source ../inc/group_replication.inc SET SESSION sql_log_bin= 0; call mtr.add_suppression("Can't establish a internal server connection to execute plugin operations.*"); call mtr.add_suppression("Error calling group communication interfaces while trying to leave the group"); SET SESSION sql_log_bin= 1; --echo --echo # 1. Start GR. Force SQL Service to return error failing Start GR. --echo SET @debug_save= @@GLOBAL.DEBUG; SET @@GLOBAL.DEBUG= '+d,group_replication_sql_service_force_error'; --disable_query_log SET GLOBAL group_replication_bootstrap_group=ON; --eval SET GLOBAL group_replication_group_name= "$group_replication_group_name" --enable_query_log --error ER_GROUP_REPLICATION_CONFIGURATION START GROUP_REPLICATION; --source ../inc/gr_clear_bootstrap_group.inc --echo --echo # 2. Start GR successfully now. --echo SET @@GLOBAL.DEBUG= '-d,group_replication_sql_service_force_error'; --source ../inc/start_and_bootstrap_group_replication.inc --let $rpl_connection_name= server2 --source include/rpl_connection.inc --source include/start_group_replication.inc --echo --echo # 3. Clean up. --echo --let $rpl_connection_name= server1 --source include/rpl_connection.inc SET @@GLOBAL.DEBUG= @debug_save; --source ../inc/group_replication_end.inc