Skip site navigation (1) Skip section navigation (2)

Re: HS/SR and smart shutdown

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, 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 15:56:26
Message-ID: 603c8f071003040756j1360e350s6402e061f22d92f3@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Thu, Mar 4, 2010 at 10:17 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> On Thu, Mar 4, 2010 at 11:55 PM, Greg Stark <gsstark(at)mit(dot)edu> wrote:
>> On Thu, Mar 4, 2010 at 12:11 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Erik RijkersDate: 2010-03-04 16:00:27
Subject: Assertion failure twophase.c (2) (testing HS/SR)
Previous:From: Robert HaasDate: 2010-03-04 15:46:22
Subject: Re: Linux start script updates

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group