Commit 2b8a41a6 authored by Venkatesh Duggirala's avatar Venkatesh Duggirala

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)
parent 33f15dc7
Bug#17283409 4-WAY DEADLOCK: ZOMBIES, PURGING BINLOGS, SHOW PROCESSLIST, Bug#17283409 4-WAY DEADLOCK: ZOMBIES, PURGING BINLOGS, SHOW PROCESSLIST,
SHOW BINLOGS SHOW BINLOGS
connect connection1,127.0.0.1,root,,test,$MASTER_MYPORT,; connect connection1,localhost,root,,test,$MASTER_MYPORT,;
connection default; connection default;
SET DEBUG_SYNC='before_one_element_read_from_threads_iterator SIGNAL parked1 WAIT_FOR go'; SET DEBUG_SYNC='before_one_element_read_from_threads_iterator SIGNAL parked1 WAIT_FOR go';
SHOW PROCESSLIST; SHOW PROCESSLIST;
connection connection1; connection connection1;
"Wait_for parked1" "Wait_for parked1"
SET DEBUG_SYNC='now WAIT_FOR parked1'; SET DEBUG_SYNC='now WAIT_FOR parked1';
connect connection2,127.0.0.1,root,,test,$MASTER_MYPORT,; connect connection2,localhost,root,,test,$MASTER_MYPORT,;
connect connection3,127.0.0.1,root,,test,$MASTER_MYPORT,; connect connection3,localhost,root,,test,$MASTER_MYPORT,;
SET DEBUG_SYNC='now SIGNAL go'; SET DEBUG_SYNC='now SIGNAL go';
connection default; connection default;
Id User Host db Command Time State Info Id User Host db Command Time State Info
...@@ -21,8 +21,8 @@ SHOW PROCESSLIST; ...@@ -21,8 +21,8 @@ SHOW PROCESSLIST;
connection connection1; connection connection1;
"Wait_for parked1" "Wait_for parked1"
SET DEBUG_SYNC='now WAIT_FOR parked1'; SET DEBUG_SYNC='now WAIT_FOR parked1';
connect connection4,127.0.0.1,root,,test,$MASTER_MYPORT,; connect connection4,localhost,root,,test,$MASTER_MYPORT,;
connect connection5,127.0.0.1,root,,test,$MASTER_MYPORT,; connect connection5,localhost,root,,test,$MASTER_MYPORT,;
SET DEBUG_SYNC='now SIGNAL go'; SET DEBUG_SYNC='now SIGNAL go';
connection default; connection default;
Id User Host db Command Time State Info Id User Host db Command Time State Info
......
...@@ -10,15 +10,15 @@ ...@@ -10,15 +10,15 @@
--source include/have_debug_sync.inc --source include/have_debug_sync.inc
--source include/count_sessions.inc --source include/count_sessions.inc
--enable_connect_log --enable_connect_log
connect(connection1,127.0.0.1,root,,test,$MASTER_MYPORT,); connect(connection1,localhost,root,,test,$MASTER_MYPORT,);
--connection default --connection default
SET DEBUG_SYNC='before_one_element_read_from_threads_iterator SIGNAL parked1 WAIT_FOR go'; SET DEBUG_SYNC='before_one_element_read_from_threads_iterator SIGNAL parked1 WAIT_FOR go';
--send SHOW PROCESSLIST --send SHOW PROCESSLIST
--connection connection1 --connection connection1
echo "Wait_for parked1"; echo "Wait_for parked1";
SET DEBUG_SYNC='now WAIT_FOR parked1'; SET DEBUG_SYNC='now WAIT_FOR parked1';
connect(connection2,127.0.0.1,root,,test,$MASTER_MYPORT,); connect(connection2,localhost,root,,test,$MASTER_MYPORT,);
connect(connection3,127.0.0.1,root,,test,$MASTER_MYPORT,); connect(connection3,localhost,root,,test,$MASTER_MYPORT,);
SET DEBUG_SYNC='now SIGNAL go'; SET DEBUG_SYNC='now SIGNAL go';
--connection default --connection default
...@@ -36,8 +36,8 @@ SET DEBUG_SYNC='after_one_element_read_from_threads_iterator SIGNAL parked1 WAIT ...@@ -36,8 +36,8 @@ SET DEBUG_SYNC='after_one_element_read_from_threads_iterator SIGNAL parked1 WAIT
--connection connection1 --connection connection1
echo "Wait_for parked1"; echo "Wait_for parked1";
SET DEBUG_SYNC='now WAIT_FOR parked1'; SET DEBUG_SYNC='now WAIT_FOR parked1';
connect(connection4,127.0.0.1,root,,test,$MASTER_MYPORT,); connect(connection4,localhost,root,,test,$MASTER_MYPORT,);
connect(connection5,127.0.0.1,root,,test,$MASTER_MYPORT,); connect(connection5,localhost,root,,test,$MASTER_MYPORT,);
SET DEBUG_SYNC='now SIGNAL go'; SET DEBUG_SYNC='now SIGNAL go';
--connection default --connection default
# This will show 4 connections only ( default + connection 1,2,3 ). Connections # This will show 4 connections only ( default + connection 1,2,3 ). Connections
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment