Re: HS/SR and smart shutdown

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: HS/SR and smart shutdown
Дата
Msg-id 3f0b79eb1001291954j4a8df6e2nbc41fa74a261ad38@mail.gmail.com
обсуждение исходный текст
Ответ на Re: HS/SR and smart shutdown  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: HS/SR and smart shutdown  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Sat, Jan 30, 2010 at 9:01 AM, Josh Berkus <josh@agliodbs.com> wrote:
> I don't think it's clear, or intuitive for users.  In SR, recovery is
> *never* done, so smart shutdown never completes (even if the master is
> shut down, when I tested it).

If you specify the trigger_file parameter in the recovery.conf, the presence
of the trigger file would complete recovery. So the existing smart shutdown
waits for it to be created. I agree that this behavior is somewhat confusing
for users.

> HOWEVER, I do believe this is an issue we could live with for 9.0 if
> it's going to lead to a whole lot of additional debugging of SR.  But if
> it's an easy fix, it'll avoid a lot of complaints on pgsql-general.

I think that the latter statement is right.

Regards,

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


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PG 9.0 and standard_conforming_strings
Следующее
От: Oleg Bartunov
Дата:
Сообщение: rbtree test data