Merge lp:~laurynas-biveinis/percona-server/bug1319904-5.5 into lp:percona-server/5.5
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 |
Related bugs: |
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_
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://
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://