Comment 4 for bug 1135441

Revision history for this message
Alexey Kopytov (akopytov) wrote : Re: [Bug 1135441] [NEW] Make sure all child processes are killed on error

Hi Stewart,

On Wed, 06 Mar 2013 05:26:26 -0000, Stewart Smith wrote:
> Alexey Kopytov <email address hidden> writes:
>>> I think we should be able to add a END {} block and get rid of Die, thus
>>> making everything consistent
>>>
>>
>> That seems to be the only portable solution. Though END{} does not save
>> us from "killall -9 innobackupex".
>
> I don't think anything can save us there can it...
>

There's prctl(PR_SET_PDEATHSIG), but that's not portable. Actually that
would be portable enough for us. And since we will get rid of the mysql
command line client in 2.1, that should also be good enough.