Re: inconsistent state after crash recovery - Mailing list pgsql-hackers

From Robert Haas
Subject Re: inconsistent state after crash recovery
Date
Msg-id CA+TgmobN0+f4efOFS9KybDOr8pr6ed47ig4fdycwwtG3H3pOZw@mail.gmail.com
Whole thread Raw
In response to Re: inconsistent state after crash recovery  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: inconsistent state after crash recovery  (Tomasz Nowak <tomasz.nowaktn@gmail.com>)
Re: inconsistent state after crash recovery  (Satoshi Nagayasu <snaga@uptime.jp>)
List pgsql-hackers
On Fri, Aug 2, 2013 at 8:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Fri, Jul 26, 2013 at 8:27 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> would you expect crash recovery to notice the disappearance of a file
>>> that was touched nowhere in the replayed actions?
>
>> Eh, maybe not.  But should we try harder to detect the unexpected
>> disappearance of one that is?
>
> We do, don't we?  The replay stuff should complain unless it sees a drop
> or truncate covering any unaccounted-for pages.

Hmm.  Yeah.  But the OP seems to think it doesn't work.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: inconsistent state after crash recovery
Next
From: Robert Haas
Date:
Subject: Re: Immediate shutdown causes the assertion failure in 9.4dev