> On 30 May 2026, at 13:05, Andrey Borodin <x4mmm@yandex-team.ru> wrote:
>
> I'll do another pass tomorrow, maybe something else will catch my eye.
I've tried the patch on my old corruption experiments. And it works for me.
I had to switch killing to something like
foreach my $i (1 .. 100)
{
my @alive = grep { kill 0, $_ } @cluster_pids;
last unless @alive;
kill 'KILL', @alive;
usleep(100_000);
}
The shared memory segment must be released before we attempt recovery.
But that's exactly what I wanted anyway. Thank you!
Best regards, Andrey Borodin.