On Thu, Jan 21, 2010 at 8:04 AM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> I've been working on my demo, and I'm discovering that due to the
> connection from the walsender and walreceiver, "smart" shutdown from
> pg_ctl doesn't work if replication is active.
> This seems worth fixing; if we don't fix it, we should at least document it.
Thanks for the report.
Which servers (primary or standby) did you try a "smart" shutdown on?
If it's "primary", could you show me the reproducible test set? At least
in my box, a "smart" shutdown on the primary works fine.
If it's "standby", it's a previously-existing behavior that a "smart"
shutdown doesn't work immediately during recovery. After a recovery
has been completed, it would work. Of course, I agree that such a
behavior should be documented.
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
In response to
pgsql-hackers by date
|Next:||From: Josh Berkus||Date: 2010-01-21 01:44:43|
|Subject: Re: HS/SR and smart shutdown|
|Previous:||From: Mark Kirkwood||Date: 2010-01-21 00:39:29|
|Subject: Re: Streaming Replication and archiving|