From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Sean Keefe <skeefe@rdx.com>
To: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #10142: Downstream standby indefinitely waits for an old WAL log in new timeline on WAL Cascading replicatio
Date: Wed, 30 Apr 2014 14:09:07 +0300
Message-ID: <5360D9D3.4030705@vmware.com> (raw)
In-Reply-To: <27b5b5ae6f7791f3f99b0c6873dc120d@mail.gmail.com>
References: <20140425174336.2721.61539@wrigleys.postgresql.org>
<535F538E.9020206@vmware.com>
<27b5b5ae6f7791f3f99b0c6873dc120d@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
(cc'ing pgsql-bugs, please keep the mailing list cc'd so that others can
join in the discussion)
On 04/29/2014 05:50 PM, Sean Keefe wrote:
> Also it seems that you were setting up streaming based replication not file
> based replication that we were using. I wanted to point this out.
Ah, you mentioned "cascading replication" in the subject, and I assumed
that you meant the built-in streaming cascading replication feature. But
from the scripts, I see that you're using pg_standby, and rsync for the
cascade.
pg_standby is not the recommended way to set up replication anymore.
Since version 9.0, there is a built-in standby feature that can be used
in file-based mode too. See
http://www.postgresql.org/docs/9.2/static/warm-standby.html#STANDBY-SERVER-SETUP.
I don't know if pg_standby can be made to work across timeline switches.
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: hlinnakangas@vmware.com, skeefe@rdx.com
Subject: Re: BUG #10142: Downstream standby indefinitely waits for an old WAL log in new timeline on WAL Cascading replicatio
In-Reply-To: <5360D9D3.4030705@vmware.com>
References: <20140425174336.2721.61539@wrigleys.postgresql.org> <535F538E.9020206@vmware.com> <27b5b5ae6f7791f3f99b0c6873dc120d@mail.gmail.com> <5360D9D3.4030705@vmware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox