Re: HS/SR and smart shutdown

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: HS/SR and smart shutdown
Date: 2010-03-04 17:39:02
Message-ID: 407d949e1003040939g504f5293g48c9d1378567c75b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 4, 2010 at 3:56 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Thu, Mar 4, 2010 at 10:17 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>>
>> 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".

It also seems dangerous to let someone think they have a standby
database ready to go and the minute they need it -- it shuts down....

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-03-04 17:42:50 Re: HS/SR and smart shutdown
Previous Message Robert Haas 2010-03-04 17:05:55 Re: Linux start script updates