mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Bug#17283409 4-WAY DEADLOCK: ZOMBIES, PURGING BINLOGS,
SHOW PROCESSLIST, SHOW BINLOGS Fixing post push test failure (MTR does not like giving 127.0.0.1 for localhost incase of --embedded run, it thinks it is an external ip address)
This commit is contained in:
parent
2870bd7423
commit
aa992742db
2 changed files with 10 additions and 10 deletions
|
@ -1,14 +1,14 @@
|
|||
Bug#17283409 4-WAY DEADLOCK: ZOMBIES, PURGING BINLOGS, SHOW PROCESSLIST,
|
||||
SHOW BINLOGS
|
||||
connect connection1,127.0.0.1,root,,test,$MASTER_MYPORT,;
|
||||
connect connection1,localhost,root,,test,$MASTER_MYPORT,;
|
||||
connection default;
|
||||
SET DEBUG_SYNC='before_one_element_read_from_threads_iterator SIGNAL parked1 WAIT_FOR go';
|
||||
SHOW PROCESSLIST;
|
||||
connection connection1;
|
||||
"Wait_for parked1"
|
||||
SET DEBUG_SYNC='now WAIT_FOR parked1';
|
||||
connect connection2,127.0.0.1,root,,test,$MASTER_MYPORT,;
|
||||
connect connection3,127.0.0.1,root,,test,$MASTER_MYPORT,;
|
||||
connect connection2,localhost,root,,test,$MASTER_MYPORT,;
|
||||
connect connection3,localhost,root,,test,$MASTER_MYPORT,;
|
||||
SET DEBUG_SYNC='now SIGNAL go';
|
||||
connection default;
|
||||
Id User Host db Command Time State Info
|
||||
|
@ -21,8 +21,8 @@ SHOW PROCESSLIST;
|
|||
connection connection1;
|
||||
"Wait_for parked1"
|
||||
SET DEBUG_SYNC='now WAIT_FOR parked1';
|
||||
connect connection4,127.0.0.1,root,,test,$MASTER_MYPORT,;
|
||||
connect connection5,127.0.0.1,root,,test,$MASTER_MYPORT,;
|
||||
connect connection4,localhost,root,,test,$MASTER_MYPORT,;
|
||||
connect connection5,localhost,root,,test,$MASTER_MYPORT,;
|
||||
SET DEBUG_SYNC='now SIGNAL go';
|
||||
connection default;
|
||||
Id User Host db Command Time State Info
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
--source include/have_debug_sync.inc
|
||||
--source include/count_sessions.inc
|
||||
--enable_connect_log
|
||||
connect(connection1,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
||||
connect(connection1,localhost,root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
SET DEBUG_SYNC='before_one_element_read_from_threads_iterator SIGNAL parked1 WAIT_FOR go';
|
||||
--send SHOW PROCESSLIST
|
||||
--connection connection1
|
||||
echo "Wait_for parked1";
|
||||
SET DEBUG_SYNC='now WAIT_FOR parked1';
|
||||
connect(connection2,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
||||
connect(connection3,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
||||
connect(connection2,localhost,root,,test,$MASTER_MYPORT,);
|
||||
connect(connection3,localhost,root,,test,$MASTER_MYPORT,);
|
||||
SET DEBUG_SYNC='now SIGNAL go';
|
||||
|
||||
--connection default
|
||||
|
@ -36,8 +36,8 @@ SET DEBUG_SYNC='after_one_element_read_from_threads_iterator SIGNAL parked1 WAIT
|
|||
--connection connection1
|
||||
echo "Wait_for parked1";
|
||||
SET DEBUG_SYNC='now WAIT_FOR parked1';
|
||||
connect(connection4,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
||||
connect(connection5,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
||||
connect(connection4,localhost,root,,test,$MASTER_MYPORT,);
|
||||
connect(connection5,localhost,root,,test,$MASTER_MYPORT,);
|
||||
SET DEBUG_SYNC='now SIGNAL go';
|
||||
--connection default
|
||||
# This will show 4 connections only ( default + connection 1,2,3 ). Connections
|
||||
|
|
Loading…
Reference in a new issue