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

From Fujii Masao
Subject Re: HS/SR and smart shutdown
Date
Msg-id 3f0b79eb1001291954j4a8df6e2nbc41fa74a261ad38@mail.gmail.com
Whole thread Raw
In response to Re: HS/SR and smart shutdown  (Josh Berkus <josh@agliodbs.com>)
Responses Re: HS/SR and smart shutdown
List pgsql-hackers
On Sat, Jan 30, 2010 at 9:01 AM, Josh Berkus <josh@agliodbs.com> wrote:
> I don't think it's clear, or intuitive for users.  In SR, recovery is
> *never* done, so smart shutdown never completes (even if the master is
> shut down, when I tested it).

If you specify the trigger_file parameter in the recovery.conf, the presence
of the trigger file would complete recovery. So the existing smart shutdown
waits for it to be created. I agree that this behavior is somewhat confusing
for users.

> 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.

Regards,

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


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: PG 9.0 and standard_conforming_strings
Next
From: Oleg Bartunov
Date:
Subject: rbtree test data