Re: HS/SR and smart shutdown
Fujii Masao <masao.fujii@gmail.com>
From: Fujii Masao <masao.fujii@gmail.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, pgsql-hackers@postgresql.org
Date: 2010-01-30T03:54:30Z
Lists: 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