Re: injection_points: Switch wait/wakeup to use atomics rather than latches
От
Andrey Borodin
Тема
Re: injection_points: Switch wait/wakeup to use atomics rather than latches
Дата
Msg-id
46821C66-E6B2-420D-BB83-E20EF36665B8@yandex-team.ru
Ответ на
Список
Дерево обсуждения
injection_points: Switch wait/wakeup to use atomics rather than latches Michael Paquier <michael@paquier.xyz>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Robert Haas <robertmhaas@gmail.com>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Michael Paquier <michael@paquier.xyz>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Robert Haas <robertmhaas@gmail.com>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Heikki Linnakangas <hlinnaka@iki.fi>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Robert Haas <robertmhaas@gmail.com>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Michael Paquier <michael@paquier.xyz>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Andrey Borodin <x4mmm@yandex-team.ru>
Re: injection_points: Switch wait/wakeup to use atomics rather than latches Andrey Borodin <x4mmm@yandex-team.ru>
> On 30 May 2026, at 13:05, Andrey Borodin 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.
В списке pgsql-hackers по дате отправления
От: Etsuro Fujita
Дата: