Merge lp:~laurynas-biveinis/percona-server/bug1319904-5.5 into lp:percona-server/5.5

Proposed by Laurynas Biveinis
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 717
Proposed branch: lp:~laurynas-biveinis/percona-server/bug1319904-5.5
Merge into: lp:percona-server/5.5
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-server/bug1319904-5.5
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+243255@code.launchpad.net

Description of the change

Fix bug 1319904 (mysqld daemon with installed handlersocket plugin
ignores any signals).

the shutdown hang is caused by mysqld signal handler never having its
initialisation completed if HS is installed. That happens because both
HS and signal_hand wait for COND_server_started, which is signalled
using mysql_cond_signal, meaning that only one waiter is woken up,
which happens to be the HS one. The signal handler waiter does not
have a time out.

This is a regression introduced in the upstream fix for
http://bugs.mysql.com/bug.php?id=62311, backported to our 5.5 as bug
1249193
. The upstream 5.6 later fixed the regression in rev 4754.1.1.

Fix by doing the same in 5.5, that is, broadcasting the signal.

http://jenkins.percona.com/job/percona-server-5.5-param/1068/

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Subscribers

People subscribed via source and target branches