Server IP : 104.21.38.3 / Your IP : 162.158.108.122 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 : |
# ==== Purpose ==== # # Verify that Seconds_Behind_Master is calculated correctly on a # Multi-threaded Slave. # # ==== References ==== # Bug #25407335 SLAVE DON'T REPORT SECONDS_BEHIND_MASTER WHEN RUNNING # SLAVE_PARALLEL_WORKERS > 0 # # Must be statement as we rely on PROCESSLIST's Info column --source include/have_binlog_format_statement.inc # This test uses debug_sync --source include/have_debug.inc --source include/have_debug_sync.inc --let $rpl_skip_start_slave= 1 --source include/master-slave.inc # Bug #25407335 SLAVE DON'T REPORT SECONDS_BEHIND_MASTER WHEN RUNNING # SLAVE_PARALLEL_WORKERS > 0 # Start slave in MTS mode connection slave; --let $debug_point= dbug.mts.force_clock_diff_eq_0 --source include/add_debug_point.inc SET @save_slave_parallel_type = @@GLOBAL.slave_parallel_type; SET @save.slave_parallel_workers= @@global.slave_parallel_workers; SET @save_slave_transaction_retries= @@global.slave_transaction_retries; --echo # Test for PARALLEL_DATABASE SET GLOBAL slave_parallel_type = 'DATABASE'; SET @@global.slave_parallel_workers= 4; --source extra/rpl_tests/rpl_seconds_behind_master_mts_type_database.test --echo # Test for LOGICAL_CLOCK SET GLOBAL slave_parallel_type = 'LOGICAL_CLOCK'; SET GLOBAL slave_parallel_workers = 3; --source extra/rpl_tests/rpl_seconds_behind_master_mts_logical_clock.test #Cleanup --let $debug_point= dbug.mts.force_clock_diff_eq_0 --source include/remove_debug_point.inc SET @@GLOBAL.slave_parallel_type= @save_slave_parallel_type; SET @@global.slave_parallel_workers= @save.slave_parallel_workers; SET @@global.slave_transaction_retries= @save_slave_transaction_retries; --source include/start_slave.inc --source include/rpl_end.inc