Re: Cascaded standby message

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Cascaded standby message
Дата
Msg-id CA+U5nMLVSR1uOgmr1YLQhpWjcEWQrpz5-C8uixUTVn9e84NaFg@mail.gmail.com
обсуждение исходный текст
Ответ на Cascaded standby message  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Cascaded standby message
Список pgsql-hackers
On Fri, Sep 2, 2011 at 1:19 PM, Magnus Hagander <magnus@hagander.net> wrote:

> From what I can tell, everytime I start a postmaster on HEAD (at least
> when i've set wal_level=archive, and max_wal_senders > 0), I get the
> message:
> LOG:  terminating all walsender processes to force cascaded standby(s)
> to update timeline and reconnect
>
> in the startup log.
>
> This is long before I've connected any slaves or even considered
> cascading standbys - seems this message is written unnecessarily?

I think this should be removed and will do that.

Fujii - the original goal here was to avoid having a unexplained
disconnection in the logs. The only way to do this cleanly is to have
a disconnection reason passed to the walsender, rather than just a
blind signal. Looks like we need to multiplex or other mechanism.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: savepoint commit performance
Следующее
От: Robert Haas
Дата:
Сообщение: Re: timezone GUC