Re: Proposal for CSN based snapshots - Mailing list pgsql-hackers

From Ants Aasma
Subject Re: Proposal for CSN based snapshots
Date
Msg-id CA+CSw_uCbX6eSZ_N=xeyk4HGZwMQQpESc2a+YT740OXCVuBbMw@mail.gmail.com
Whole thread Raw
In response to Re: Proposal for CSN based snapshots  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Mon, May 12, 2014 at 6:09 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> However, I wonder what
> happens if you write the commit record and then the attempt to update
> pg_clog fails.  I think you'll have to PANIC, which kind of sucks.

CLOG IO error while commiting is already a PANIC, SimpleLruReadPage()
does SlruReportIOError(), which in turn does ereport(ERROR), while
inside a critical section initiated in RecordTransactionCommit().

Regards,
Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Proposal for CSN based snapshots
Next
From: Greg Stark
Date:
Subject: Re: Proposal for CSN based snapshots