Re: "invalid contrecord" error on replica

From: Adrien Nayrat <adrien(dot)nayrat(at)anayrat(dot)info>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, JOULAUD François <Francois(dot)JOULAUD(at)radiofrance(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: "invalid contrecord" error on replica
Date: 2021-05-03 08:58:44
Message-ID: 312bb2b7-2f83-d1e8-7a8e-5de7971cf9e3@anayrat.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 03/05/2021 10:43, Laurenz Albe wrote:
> On Sun, 2021-05-02 at 22:43 +0200, Adrien Nayrat wrote:
>> LOG: started streaming WAL from primary at AA/A1000000 on timeline 1
>> FATAL: could not receive data from WAL stream : ERROR: requested starting
>> point AA/A1000000 is ahead of the WAL flush position of this server AA/A0FFFBE8
> You are trying to stream from a server whose WAL position is *behind* your
> own. That cannot work.
>
> Yours,
> Laurenz Albe

Yes, it was during primary's recovery as it crashed, it restarted from previous
checkpoint.

--
Adrien NAYRAT

In response to

Browse pgsql-general by date

  From Date Subject
Next Message WR 2021-05-03 09:15:11 Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86)
Previous Message Laurenz Albe 2021-05-03 08:43:33 Re: "invalid contrecord" error on replica