From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Cascaded standby message |
Date: | 2011-09-06 20:22:57 |
Message-ID: | CA+U5nMLVSR1uOgmr1YLQhpWjcEWQrpz5-C8uixUTVn9e84NaFg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Sep 2, 2011 at 1:19 PM, Magnus Hagander <magnus(at)hagander(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-09-06 20:25:01 | Re: timezone GUC |
Previous Message | Simon Riggs | 2011-09-06 20:18:00 | Re: savepoint commit performance |