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

From Robert Haas
Subject Re: HS/SR and smart shutdown
Date
Msg-id 603c8f071003040756j1360e350s6402e061f22d92f3@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 Thu, Mar 4, 2010 at 10:17 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Thu, Mar 4, 2010 at 11:55 PM, Greg Stark <gsstark@mit.edu> wrote:
>> On Thu, Mar 4, 2010 at 12:11 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>>> There is no post about this for over a month. Can I remove this
>>> from TODO item of SR for 9.0? Thought? Objection?
>>>
>>
>> Does smart shutdown still fail to shut down a slave?
>
> Yes. More precisely, smart shutdown during recovery does not complete
> until recovery ends.

Well, I don't think we should let smart shutdown just never terminate
when standby_mode = on.  That's really a minefield for the unwary.  I
think we either need to make it work, or somehow give the user an
error that says "try a different shutdown mode".

...Robert


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Linux start script updates
Next
From: "Erik Rijkers"
Date:
Subject: Assertion failure twophase.c (2) (testing HS/SR)