Re: deferred writing of two-phase state files adds fragility

From: Andres Freund <andres(at)anarazel(dot)de>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: deferred writing of two-phase state files adds fragility
Date: 2024-12-05 20:39:05
Message-ID: k7lk3vs2y3ju32mf2npmny3xl6izkoz7evihiceoyrysptmvbb@t6fjk6ls4cnb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2024-12-05 11:21:12 -0500, Robert Haas wrote:
> On Wed, Dec 4, 2024 at 6:36 PM Andres Freund <andres(at)anarazel(dot)de> wrote:
> > How did this corruption actually come about? Did it actually really just
> > affect that single WAL segment? Somehow that doesn't seem too likely.
>
> I don't know and might not be able to tell you even if I did.

Understandable. I was mainly asking because I don't really see it making sense
to make significant investments into coping with WAL getting arbitrarily
corrupted. But if there's some systematic issue leading to corruption, adding
more infrastructure to detect problems seems more worthwhile / realistic.

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2024-12-05 21:14:28 Re: Disallow UPDATE/DELETE on table with unpublished generated column as REPLICA IDENTITY
Previous Message Tom Lane 2024-12-05 20:34:13 Re: Using Expanded Objects other than Arrays from plpgsql