Re: How should pg_standby get over the gap of timeline?

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How should pg_standby get over the gap of timeline?
Date: 2008-11-20 14:24:37
Message-ID: 49257325.5020505@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fujii Masao wrote:
> In the current Synch Rep patch, the standby cannot catch up with the
> primary which has a bigger timeline.

That would only happen if you've performed an archive recovery in the
primary. If you've done PITR in the primary, I don't think there's any
guarantee that it's even possible to catch up the standby. The standby
might already have replayed a WAL file from an earlier timeline, that
isn't part of the history of the bigger timeline.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavan Deolasee 2008-11-20 14:45:30 Re: Hot Standby (commit fest version - v5)
Previous Message Magnus Hagander 2008-11-20 14:24:12 Re: WIP parallel restore patch