Re: recovery getting interrupted is not so unusual as it used to be

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: recovery getting interrupted is not so unusual as it used to be
Дата
Msg-id AANLkTimxxjGHPZ3wsGOUdkROm4B4ul6a7DtMvIXeJs0S@mail.gmail.com
обсуждение исходный текст
Ответ на Re: recovery getting interrupted is not so unusual as it used to be  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: recovery getting interrupted is not so unusual as it used to be  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Mon, May 17, 2010 at 5:33 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Sat, May 15, 2010 at 3:20 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> Hmm, OK, I think that makes sense.  Would you care to propose a patch?
>
> Yep. Here is the patch.
>
> This patch distinguishes normal shutdown from unexpected exit, while the
> server is in recovery. That is, when smart or fast shutdown is requested
> during recovery, the bgwriter sets the ControlFile->state to new-introduced
> DB_SHUTDOWNED_IN_RECOVERY state.

This patch is worth applying for 9.0? If not, I'll add it into
the next CF for 9.1.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: ROLLBACK TO SAVEPOINT
Следующее
От: Simon Riggs
Дата:
Сообщение: Hot Standby performance and deadlocking