From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Aleš Zelený <zeleny.ales@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Wall shiping replica failed to recover database with error: invalid contrecord length 1956 at FED/38FFE208
Date: Wed, 02 Oct 2019 19:23:20 -0400
Message-ID: <26926.1570058600@sss.pgh.pa.us> (raw)
In-Reply-To: <20191002220914.GS6962@tamriel.snowman.net>
References: <CAODqTUaD44+ZHC6JeXXKofZSqepmp2357nht2aQ-EwQOXpaz=w@mail.gmail.com>
<20191002220914.GS6962@tamriel.snowman.net>
Stephen Frost <sfrost@snowman.net> writes:
> * Aleš Zelený (zeleny.ales@gmail.com) wrote:
>> But recovery on replica failed to proceed WAL file
>> 0000000100000FED00000039 with log message: " invalid contrecord length
>> 1956 at FED/38FFE208".
> Err- you've drawn the wrong conclusion from that message (and you're
> certainly not alone- it's a terrible message and we should really have a
> HINT there or something).
Yeah, those messages are all pretty ancient, from when WAL was new and not
to be trusted much. Perhaps the thing to do is move the existing info
into DETAIL and make the primary message be something like "reached
apparent end of WAL stream".
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, zeleny.ales@gmail.com
Subject: Re: Wall shiping replica failed to recover database with error: invalid contrecord length 1956 at FED/38FFE208
In-Reply-To: <26926.1570058600@sss.pgh.pa.us>
References: <CAODqTUaD44+ZHC6JeXXKofZSqepmp2357nht2aQ-EwQOXpaz=w@mail.gmail.com> <20191002220914.GS6962@tamriel.snowman.net> <26926.1570058600@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox