Re: pg_ctl emits strange warning message
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-09-14T07:46:22Z
Lists: 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