Re: pg_ctl emits strange warning message - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pg_ctl emits strange warning message
Date
Msg-id 4C8F284E.3040205@enterprisedb.com
Whole thread Raw
In response to Re: pg_ctl emits strange warning message  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On 14/09/10 03:39, Fujii Masao wrote:
> On Tue, Sep 14, 2010 at 12:35 AM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com>  wrote:
>> Hmm, looking at this more closely, I'm a bit confused. We already rename
>> away backup_label at the beginning of recovery. Under what circumstances do
>> we have a problem? This starts to seem like a complete non-issue to me.
>
> A checkpoint record is read before backup_label file is renamed, so
> the problem happens if shutdown is requested while the standby server
> is waiting for the WAL containing a checkpoint record to arrive from
> the master. This happened some times in my box when testing HS/SR.

Ok, I see. Shouldn't be very common, but might happen if you have a set 
restore_command incorrectly for example.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Report: removing the inconsistencies in our CVS->git conversion
Next
From: Heikki Linnakangas
Date:
Subject: Re: pg_ctl emits strange warning message