Re: pg_ctl emits strange warning message

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pg_ctl emits strange warning message
Дата
Msg-id 4C8F284E.3040205@enterprisedb.com
обсуждение исходный текст
Ответ на Re: pg_ctl emits strange warning message  (Fujii Masao <masao.fujii@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Report: removing the inconsistencies in our CVS->git conversion
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pg_ctl emits strange warning message