Re: [PATCH] Fix ProcKill lock-group vs procLatch recycle race

Vlad Lesin <vladlesin@gmail.com>

From: Vlad Lesin <vladlesin@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-05-28T10:22:30Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix procLatch ownership race in ProcKill()

On 5/28/26 04:08, Michael Paquier wrote:
> Using two different points, one for the leader and one for the
> follower is indeed the correct way to do things.
I am not sure about that. It is quite confusing to have several waiters 
when only one of them is awakened when calling the "wake up" function. 
If this logic is forbidden, it should be documented in the code 
comments, or an error should be thrown when attempting to add more than 
one waiter to the same injection point.

-- 
Best regards,
Vlad