Re: Refactoring standby mode logic - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Refactoring standby mode logic
Date
Msg-id m2ip8j44y9.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Refactoring standby mode logic  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
>> I'm not understanding the sequence difference well enough to comment
>> here, but I think some people are currently playing tricks in their
>> failover scripts with moving files directly to the pg_xlog of the server
>> to be promoted.
>
> That's still perfectly ok. It's only if you have a diverged timeline
> history, and you have files from one timeline in the archive and files from
> another in pg_xlog that you'll see a difference. But in such a split
> situation, it's quite arbitrary which timeline recovery will follow anyway,
> I don't think anyone can sanely rely on either behavior.

Fair enough.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Switching timeline over streaming replication
Next
From: Amit kapila
Date:
Subject: Re: Review: Patch to compute Max LSN of Data Pages