403Webshell
Server IP : 104.21.38.3  /  Your IP : 162.158.106.46
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/extra/rpl_tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/extra/rpl_tests/rpl_semi_sync_deadlock.test
--disable_query_log
--disable_result_log
--let $n= 11
--let $i= 1
while ($i < $n)
{
  --eval CREATE TABLE t$i(c1 INT) ENGINE= InnoDB;
  --inc $i
}
--enable_result_log
--enable_query_log

--sync_slave_with_master

--connection master
SET GLOBAL debug= 'd,semi_sync_3-way_deadlock';
SET GLOBAL debug= '+d,dump_thread_before_read_event';
SET DEBUG_SYNC= "before_process_commit_stage_queue WAIT_FOR signal.continue no_clear_event";

--echo # Build 10 connections to master server
--disable_query_log
--disable_result_log
--let $i= 1
while ($i < $n)
{
  --connect(con$i,127.0.0.1,root,,test,$MASTER_MYPORT,)
  --inc $i
}
--enable_result_log
--enable_query_log

--echo # Execute INSERT statement on these 10 connections in parallel
--disable_query_log
--disable_result_log

--let $i= 1
while ($i < $n)
{
  --connection con$i
  --send
  --eval INSERT INTO t$i VALUES(2)
  --inc $i
}
--enable_result_log
--enable_query_log

--connection master1
SET DEBUG_SYNC= "before_rotate_binlog SIGNAL signal.continue";
--real_sleep 3
--echo # Rotate binlog file
FLUSH LOGS;

--disable_query_log
--disable_result_log
--let $i= 1
while ($i < $n)
{
  --connection con$i
  --reap
  --inc $i
}
--enable_result_log
--enable_query_log

# clean up
--connection master
--disable_query_log
--disable_result_log
# disconnect connections
--let $i= 1
while ($i < $n)
{
  --disconnect con$i
  --inc $i
}
# drop tables
--let $i= 1
while ($i < $n)
{
  --eval DROP TABLE t$i
  --inc $i
}
--enable_result_log
--enable_query_log

Youez - 2016 - github.com/yon3zu
LinuXploit