From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Hot standby, recovery infrastructure |
Date: | 2009-01-27 17:45:35 |
Message-ID: | 1233078335.2327.2248.camel@ebony.2ndQuadrant |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 2009-01-27 at 17:50 +0200, Heikki Linnakangas wrote:
> Hmm, I think we have small issue if the last WAL segment restored from
> the archive is an incomplete one:
All normal archive recoveries have "complete" WAL files, since an xlog
switch record jumps past missing entries at the end of the file. So I
was just about to say "how can it be an incomplete one?", to which the
answer is file damage of some kind causing a failed CRC check.
So yes, it is possible and no, the patch doesn't work that way yet.
It's enough to give WALMgr problems at failover, certainly.
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2009-01-27 17:48:56 | Re: Hot standby, recovery infrastructure |
Previous Message | Tom Lane | 2009-01-27 17:43:31 | Re: 8.4 release planning (was Re: [COMMITTERS] pgsql: Automatic view update rules) |