Re: How should pg_standby get over the gap of timeline? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: How should pg_standby get over the gap of timeline?
Date
Msg-id 49257325.5020505@enterprisedb.com
Whole thread Raw
In response to How should pg_standby get over the gap of timeline?  ("Fujii Masao" <masao.fujii@gmail.com>)
Responses Re: How should pg_standby get over the gap of timeline?  ("Fujii Masao" <masao.fujii@gmail.com>)
List 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


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: WIP parallel restore patch
Next
From: "Pavan Deolasee"
Date:
Subject: Re: Hot Standby (commit fest version - v5)