Re: Clean shutdown and warm standby

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Guillaume Smet <guillaume(dot)smet(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Clean shutdown and warm standby
Date: 2009-05-28 14:08:03
Message-ID: 1243519683.24860.589.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Thu, 2009-05-28 at 16:52 +0300, Heikki Linnakangas wrote:

> > If the archiver is working, but has fallen behind at the point of
> > shutdown, does the archiver operate for long enough to ensure we are
> > archived up to the point of the log switch prior to checkpoint?
>
> Yes, it archives all pending WAL segments before exiting.

I don't think it does, please look again.

> Ok, we're good then I guess.

No, because as I said, if archive_command has been returning non-zero
then the archive will be incomplete.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-05-28 14:11:17 Re: A couple of gripes about the gettext plurals patch
Previous Message Andy Colson 2009-05-28 13:53:47 Re: sun blade 1000 donation