From: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
---|---|
To: | Aleksander Alekseev <aleksander(at)tigerdata(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Melanie Plageman <melanieplageman(at)gmail(dot)com> |
Subject: | Re: VM corruption on standby |
Date: | 2025-08-07 15:54:45 |
Message-ID: | 59380CEA-503D-40F9-A239-DD29D1E466CF@yandex-team.ru |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> On 7 Aug 2025, at 17:09, Aleksander Alekseev <aleksander(at)tigerdata(dot)com> wrote:
>
> If my understanding is correct, we should make a WAL record with the
> XLH_LOCK_ALL_FROZEN_CLEARED flag *before* we modify the VM but within
> the same critical section (in order to avoid race conditions within
> the same backend).
Well, the test passes because you moved injection point to a very safe position. I can't comment anything on other aspects of moving visibilitymap_clear() around.
The approach seems viable to me, but I'd like to have understanding why PD_ALL_VISIBLE in a heap page header did not save the day before fixing anything.
Best regards, Andrey Borodin.
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Jones | 2025-08-07 15:59:36 | Re: Add XMLNamespaces to XMLElement |
Previous Message | Ilia Evdokimov | 2025-08-07 15:23:15 | Re: stylesheet-html-common: only apply Bootstrap container classes in website build |