Skip site navigation (1) Skip section navigation (2)

Re: Aborted VACUUM FULL -> crash + corruption (xlognon-existent)

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Schuller <peter(dot)schuller(at)infidyne(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Aborted VACUUM FULL -> crash + corruption (xlognon-existent)
Date: 2008-08-26 16:25:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Peter Schuller wrote:

> It would be embarressing if I caused this problem myself by
> misunderstanding wal_archiving. My understanding has been that once
> wal_archive gets called, no one ever cares what happens with the file
> except if I want to do PITR (since the whole point is to offload it
> somewhere or similar).
> I'll go and re-read the documentation on this immediately. If this is
> the problem, I do apologies for the noise and people's time.

Yeah, this is the problem.  The archive command must not delete the
file it is copying.  It is supposed to only copy it.  The file must
continue to be on the server until a checkpoint is executed.

In fact you'd have a problem on recovery after any crash, not just
vacuum full.

I think it's the documentation's fault that this is not a lot more

Alvaro Herrera                      
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

pgsql-bugs by date

Next:From: Alvaro HerreraDate: 2008-08-26 16:27:11
Subject: Re: Aborted VACUUM FULL -> crash + corruption (xlognon-existent)
Previous:From: Peter SchullerDate: 2008-08-26 16:24:49
Subject: Re: Aborted VACUUM FULL -> crash + corruption (xlognon-existent)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group