Re: Wall shiping replica failed to recover database with error:invalid contrecord length 1956 at FED/38FFE208 - Mailing list pgsql-general

From Stephen Frost
Subject Re: Wall shiping replica failed to recover database with error:invalid contrecord length 1956 at FED/38FFE208
Date
Msg-id 20191002232402.GT6962@tamriel.snowman.net
Whole thread Raw
In response to Re: Wall shiping replica failed to recover database with error: invalid contrecord length 1956 at FED/38FFE208  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Wall shiping replica failed to recover database with error:invalid contrecord length 1956 at FED/38FFE208
List pgsql-general
Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> 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".

Yes, +1 on that.

Thanks,

Stephen

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Wall shiping replica failed to recover database with error: invalid contrecord length 1956 at FED/38FFE208
Next
From: raf
Date:
Subject: Re: Users, Roles and Connection Pooling