Re: HS/SR and smart shutdown - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: HS/SR and smart shutdown
Date
Msg-id 3f0b79eb1001311849y53c0b9c2p959a63e6839e1968@mail.gmail.com
Whole thread Raw
In response to Re: HS/SR and smart shutdown  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: HS/SR and smart shutdown
List pgsql-hackers
On Sat, Jan 30, 2010 at 12:54 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> HOWEVER, I do believe this is an issue we could live with for 9.0 if
>> it's going to lead to a whole lot of additional debugging of SR.  But if
>> it's an easy fix, it'll avoid a lot of complaints on pgsql-general.
>
> I think that the latter statement is right.

Though we've not reached consensus on smart shutdown during
recovery yet, I wrote the patch that changes its behavior:
shut down the server (including the startup process and the
walreceiver) as soon as all read-only connections have died.
The code is also available in the 'replication' branch in
my git repository.

And, let's discuss whether something like the attached patch
is required for v9.0 or not.

Regards,

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

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: mailing list archiver chewing patches
Next
From: KaiGai Kohei
Date:
Subject: Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns