Re: HS/SR and smart shutdown

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: HS/SR and smart shutdown
Дата
Msg-id 3f0b79eb1001201740u48f81a05oe9d8a90425602a06@mail.gmail.com
обсуждение исходный текст
Ответ на HS/SR and smart shutdown  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: HS/SR and smart shutdown  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Thu, Jan 21, 2010 at 8:04 AM, Josh Berkus <josh@agliodbs.com> wrote:
> I've been working on my demo, and I'm discovering that due to the
> connection from the walsender and walreceiver, "smart" shutdown from
> pg_ctl doesn't work if replication is active.
>
> This seems worth fixing; if we don't fix it, we should at least document it.
>
> Comments?

Thanks for the report.

Which servers (primary or standby) did you try a "smart" shutdown on?

If it's "primary", could you show me the reproducible test set? At least
in my box, a "smart" shutdown on the primary works fine.

If it's "standby", it's a previously-existing behavior that a "smart"
shutdown doesn't work immediately during recovery. After a recovery
has been completed, it would work. Of course, I agree that such a
behavior should be documented.

Regards,

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


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

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: Streaming Replication and archiving
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: HS/SR and smart shutdown