Re: VM corruption on standby - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: VM corruption on standby
Date
Msg-id CALdSSPiaPVTvysVT-7UcQiLP8r9iygy=9cdRAN8Zq1siHWnFKg@mail.gmail.com
Whole thread Raw
In response to Re: VM corruption on standby  (Yura Sokolov <y.sokolov@postgrespro.ru>)
Responses Re: VM corruption on standby
List pgsql-hackers
On Tue, 19 Aug 2025 at 21:16, Yura Sokolov <y.sokolov@postgrespro.ru> wrote:
>

>
> `if (CritSectionCount != 0) _exit(2) else proc_exit(1)` in
> WaitEventSetWaitBlock () solves the issue of inconsistency IF POSTMASTER IS
> SIGKILLED, and doesn't lead to any problem, if postmaster is not SIGKILL-ed
> (since postmaster will SIGKILL its children).
>

This fix was proposed in this thread. It fixes inconsistency but it
replaces one set of problems
with another set, namely systems that fail to shut down.



-- 
Best regards,
Kirill Reshke



pgsql-hackers by date:

Previous
From: "章晨曦"
Date:
Subject: Re: Performance issue on temporary relations
Next
From: Tom Lane
Date:
Subject: Re: RFC: extensible planner state