From: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_ctl emits strange warning message |
Date: | 2010-09-14 07:46:22 |
Message-ID: | 4C8F284E.3040205@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 14/09/10 03:39, Fujii Masao wrote:
> On Tue, Sep 14, 2010 at 12:35 AM, Heikki Linnakangas
> <heikki(dot)linnakangas(at)enterprisedb(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2010-09-14 08:06:23 | Re: pg_ctl emits strange warning message |
Previous Message | Tom Lane | 2010-09-14 03:10:03 | Re: [HACKERS] Report: removing the inconsistencies in our CVS->git conversion |