From: Andres Freund <andres@2ndquadrant.com>
To: pgsql-bugs@postgresql.org
Cc: maxim.boguk@gmail.com
Subject: Re: BUG #7500: hot-standby replica crash after an initial rsync
Date: Tue, 21 Aug 2012 11:13:45 +0200
Message-ID: <201208211113.45412.andres@2ndquadrant.com> (raw)
In-Reply-To: <E1T3jVT-0006ug-Rs@wrigleys.postgresql.org>
References: <E1T3jVT-0006ug-Rs@wrigleys.postgresql.org>
On Tuesday, August 21, 2012 10:08:11 AM maxim.boguk@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7500
> Logged by: Maxim Boguk
> Email address: maxim.boguk@gmail.com
> PostgreSQL version: 9.0.8
> Operating system: FreeBSD
> Description:
>
> Hi,
>
> Reinitialization of the replica after failover is procedure performed by me
> a lot times in that installation. And I never had any issues. But today
> after following the same pg_start_backup/rsync procedure replica doesn't
> start with following error:
>
> 2012-08-21 11:17:07.777 MSK 34329 @ from [vxid: txid:0] []LOG: entering
> standby mode
> 2012-08-21 11:17:07.780 MSK 34329 @ from [vxid:1/0 txid:0] []LOG: redo
> starts at 925/2C0004C8
> 2012-08-21 11:17:07.783 MSK 34329 @ from [vxid:1/0 txid:0] []FATAL: could
> not access status of transaction 361788644
> 2012-08-21 11:17:07.783 MSK 34329 @ from [vxid:1/0 txid:0] []DETAIL:
> Could not read from file "pg_multixact/offsets/1590" at offset 114688:
> Unknown error: 0.
> 2012-08-21 11:17:07.783 MSK 34329 @ from [vxid:1/0 txid:0] []CONTEXT:
> xlog redo create multixact 361788644 offset 822580965: 1768508061
> 1768508078 2012-08-21 11:17:07.791 MSK 34327 @ from [vxid: txid:0] []LOG:
> startup process (PID 34329) exited with exit code 1
> 2012-08-21 11:17:07.791 MSK 34327 @ from [vxid: txid:0] []LOG:
> terminating any other active server processes
>
>
> I have kept all that database files for the future investigation.
>
> What I should look into first?
Could you reproduce the error with log_error_verbosity=verbose? Or even better
provide a backtrace with gdb?
Greetings,
Andres
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
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-bugs@postgresql.org
Cc: andres@2ndquadrant.com, maxim.boguk@gmail.com
Subject: Re: BUG #7500: hot-standby replica crash after an initial rsync
In-Reply-To: <201208211113.45412.andres@2ndquadrant.com>
References: <E1T3jVT-0006ug-Rs@wrigleys.postgresql.org> <201208211113.45412.andres@2ndquadrant.com>
* 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