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:

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, backported to our 5.5 as bug
. 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.

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

Diff calculation failed

Calculating the branch diff failed. You can manually schedule an update if required.


People subscribed via source and target branches