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

From Andrey Borodin
Subject Re: VM corruption on standby
Date
Msg-id 0E9B0C78-F6C3-4935-9D17-4FDDD9C2E0AE@yandex-team.ru
Whole thread Raw
In response to Re: VM corruption on standby  (Aleksander Alekseev <aleksander@tigerdata.com>)
Responses Re: VM corruption on standby
List pgsql-hackers

> On 7 Aug 2025, at 19:36, Aleksander Alekseev <aleksander@tigerdata.com> wrote:
>
> Maybe I misunderstood the intent of the test.

You understood precisely my intent of writing the test. But it fail not due to a bug I anticipated!

So far I noticed that if I move injection point before

PageClearAllVisible(BufferGetPage(buffer));

or after writing WAL - test passes.

Also I investigated that in a moment of kill -9 checkpointer flushes heap page to disk despite content lock. I haven't
foundwho released content lock though. 


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Shayon Mukherjee
Date:
Subject: Re: Prolonged truncation phase during vacuum on toast table with repeated interruptions by lock waiters and a proposed POC patch
Next
From: Andrey Borodin
Date:
Subject: Re: VM corruption on standby