Re: [HACKERS] Cascaded standby message

2011-09-07 Thread Fujii Masao
On Wed, Sep 7, 2011 at 9:10 PM, Thom Brown wrote: > On 7 September 2011 11:56, Simon Riggs wrote: >> > That's an idea. But what about the patch that I proposed before? >> > http://archives.postgresql.org/pgsql-hackers/2011-08/msg00816.php >> >> Thanks for that. Committed. Thanks! > This appears

Re: [HACKERS] Cascaded standby message

2011-09-07 Thread Thom Brown
On 7 September 2011 11:56, Simon Riggs wrote: > On Wed, Sep 7, 2011 at 2:44 AM, Fujii Masao wrote: > > On Wed, Sep 7, 2011 at 5:22 AM, Simon Riggs > wrote: > >> Fujii - the original goal here was to avoid having a unexplained > >> disconnection in the logs. The only way to do this cleanly is to

Re: [HACKERS] Cascaded standby message

2011-09-07 Thread Simon Riggs
On Wed, Sep 7, 2011 at 2:44 AM, Fujii Masao wrote: > On Wed, Sep 7, 2011 at 5:22 AM, Simon Riggs wrote: >> 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, r

Re: [HACKERS] Cascaded standby message

2011-09-07 Thread Magnus Hagander
On Wed, Sep 7, 2011 at 03:44, Fujii Masao wrote: > On Wed, Sep 7, 2011 at 5:22 AM, Simon Riggs wrote: >> 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, rat

Re: [HACKERS] Cascaded standby message

2011-09-06 Thread Fujii Masao
On Wed, Sep 7, 2011 at 5:22 AM, Simon Riggs wrote: > 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 m

Re: [HACKERS] Cascaded standby message

2011-09-06 Thread Simon Riggs
On Fri, Sep 2, 2011 at 1:19 PM, Magnus Hagander 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 ti

[HACKERS] Cascaded standby message

2011-09-02 Thread Magnus Hagander
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