Re: HS/SR and smart shutdown

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HS/SR and smart shutdown
Дата
Msg-id 25317.1264038972@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: HS/SR and smart shutdown  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: HS/SR and smart shutdown  (Robert Haas <robertmhaas@gmail.com>)
Re: HS/SR and smart shutdown  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Jan 20, 2010 at 8:44 PM, Josh Berkus <josh@agliodbs.com> wrote:
>> Well, as long as streaming rep is running, you can't do a smart shutdown
>> ... smart shutdown seems to treat the walreciever as a client
>> connection. �At the very least, this should be in the documentation.

> How hard is it to fix?

I think the first question is do we *want* to fix it, or is it
appropriate behavior?

If the master shuts down, will the slaves try to fail over to become
masters?  When the master restarts, will the slaves automatically
reconnect?  If these questions have the wrong answers, shutting down the
master isn't something to be done lightly, and automatically
disconnecting slaves would be a real bad idea.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: HS/SR and smart shutdown
Следующее
От: Robert Haas
Дата:
Сообщение: Re: HS/SR and smart shutdown