Re: [GENERAL] streaming replication - crash on standby - Mailing list pgsql-general

From Seong Son (US)
Subject Re: [GENERAL] streaming replication - crash on standby
Date
Msg-id BY2PR17MB03282B3270332EFDE738227E848B0@BY2PR17MB0328.namprd17.prod.outlook.com
Whole thread Raw
In response to Re: [GENERAL] streaming replication - crash on standby  (Andres Freund <andres@anarazel.de>)
Responses Re: [GENERAL] streaming replication - crash on standby  (Andres Freund <andres@anarazel.de>)
List pgsql-general
I see.  Thank you.

But the Postgresql process had crashed at that time so the streaming replication was no longer working.  Why would it
crashand is that normal? 

Thanks,

Seong


This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they
areaddressed. If you have received this email in error please notify the system manager. This message contains
informationthat is intended only for the individual named. If you are not the named addressee you should not
disseminate,distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this
e-mailby mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that
disclosing,copying, distributing or taking any action in reliance on the contents of this information is strictly
prohibited.

-----Original Message-----
From: Andres Freund [mailto:andres@anarazel.de]
Sent: Wednesday, August 09, 2017 6:27 PM
To: Seong Son (US) <Seong.Son@datapath.com>
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] streaming replication - crash on standby

Hi,

On 2017-08-09 22:03:43 +0000, Seong Son (US) wrote:
> The last line from pg_xlogdump of the last WAL file on the crashed standby server shows the following.
>
> pg_xlogdump: FATAL:  error in WAL record at DF/4CB95FD0: unexpected pageaddr DB/62B96000 in log segment
00000000000000DF0000004C,offset 12148736 
>
> I believe this means the standby server received WAL file out of order?  But why did it crash?  Is crashing normal
behaviorin case like this? 

This likely just means that that's the end of the WAL.

- Andres


pgsql-general by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [GENERAL] Multixact members limit exceeded
Next
From: Andres Freund
Date:
Subject: Re: [GENERAL] streaming replication - crash on standby