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-18T10:11:56Z
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()

Attachments

On 5/18/26 06:15, Michael Paquier wrote:
>> Additionally, I noticed that if several processes are waiting
>> on the same injection point, only one of them will be awakened by a single
>> injection_points_wakeup() call. I am not sure if this behavior is
>> intentional; please let me know.
> 
> Yep, I recall that as being intentional, hence I don't feel that 0002
> is a good thing to do, even worse doing so in the back-branches.
Ok, I fixed the test to use distinct injection points for the lock group 
leader and follower.

-- 
Best regards,
Vlad