Re: Strange issues with 9.2 pg_basebackup & replication

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Joshua Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Strange issues with 9.2 pg_basebackup & replication
Date: 2012-05-16 15:53:11
Message-ID: CAHGQGwGuXhOcg=41TAqpw3fn0cZ7vRDCM3Yi=j41ehd5NEQRWw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 16, 2012 at 3:43 AM, Joshua Berkus <josh(at)agliodbs(dot)com> wrote:
>
>> Before restarting it, you need to do pg_basebackup and make a base
>> backup
>> onto the standby again. Since you started the standby without
>> recovery.conf,
>> a series of WAL in the standby has gotten inconsistent with that in
>> the master.
>> So you need a fresh backup to restart the standby.
>
> You're not understanding the bug.  The problem is that the standby came up and reported that it was replicating OK, when clearly it wasn't.

> 8. Got this fatal error on the standby server:
>
> LOG: record with incorrect prev-link 0/70000B8 at 0/70000E0
> LOG: record with incorrect prev-link 0/70000B8 at 0/70000E0
>
> ... this error message repeated every 5s.

According to your first report, ISTM you got error messages.

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thom Brown 2012-05-16 16:07:16 Re: Strange issues with 9.2 pg_basebackup & replication
Previous Message Fujii Masao 2012-05-16 15:49:37 Re: Strange issues with 9.2 pg_basebackup & replication