pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Lanitz <frank@frank.uvena.de>
To: pgsql-admin@postgresql.org
To: pgsql-general@postgresql.org
Subject: Standby server witching into master role after import failure
Date: Fri, 07 Oct 2011 11:26:46 +0200
Message-ID: <4E8EC5D6.7080308@frank.uvena.de> (raw)

Hi folks,

I've got an issue I'm currently investigating and I'm not 100 sure about
the root cause.
The setup is pretty easy: A standby server via PITR is importing
WAL-files from master server. During this import it appears there has
been an error which cause the standby to finish the importing and going
live. I'm copying in LOG-file pars I tried to translate to English
(server running de_DE)

< 2011-09-28 19:38:26 CEST  >LOG:  unexpected page address 8B/5A000000
at logfile 144, Segment 1, Offset 0
< 2011-09-28 19:38:26 CEST  >LOG:  Redo done by 90/1EB48
< 2011-09-28 19:38:26 CEST  >LOG:  last completed transaction was
at logtime 2011-09-28 19:37:04.605199+02
< 2011-09-28 19:38:26 CEST  >LOG:  Logdatei 000000010000009000000000
recovered from achive
< 2011-09-28 19:39:26 CEST  >LOG:  choosen new Timeline-ID: 2
< 2011-09-28 19:40:26 CEST  >LOG:  Recover from archive finished

Obviously there have been an issue on WAL-file. But any chance to get
any detail what went wrong and what can be done to prevent such things
in future?

It's all 8.4 running on SLES11 SP1 AMD64

Cheers,
Frank



Message-ID: <4E8EC5D6.7080308@frank.uvena.de>
Permalink:  ../4E8EC5D6.7080308@frank.uvena.de/
Also on:    postgresql.org/message-id/4E8EC5D6.7080308@frank.uvena.de

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: frank@frank.uvena.de, pgsql-general@postgresql.org
  Subject: Re: Standby server witching into master role after import failure
  In-Reply-To: <4E8EC5D6.7080308@frank.uvena.de>

* 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