Re: warm standby and reciprocating failover

From: james bardin <jbardin(at)bu(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: warm standby and reciprocating failover
Date: 2009-08-25 16:54:54
Message-ID: a3b675320908250954s5eb7e6abh52b79c735b7866d8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 24, 2009 at 12:45 PM, james bardin<jbardin(at)bu(dot)edu> wrote:
>>
>> I tried recovery_target_timeline='X' on the standby, where X is the
>> new timeline created after recovery on the new master. This fails,
>> with some "unexpected timeline ID" lines and a
>> PANIC:  could not locate a valid checkpoint record
>>
>> I also tried using recovery_target_timeline='latest'. This fell back
>> gracefully to an earlier state, but changes were lost. Also, it never
>> waited on pg_standby, and finished recovering immediately.

It seems that this is related the the issue in this bug report:
http://archives.postgresql.org/pgsql-bugs/2009-05/msg00060.php

The follow up is very long, and I couldn't formulate any workaround
for the issue.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-08-25 17:05:06 Re: Invalid memory alloc request
Previous Message Tom Lane 2009-08-25 16:52:05 Re: somewhat slow query with subselect