Assertion failure twophase.c (testing HS/SR) - Mailing list pgsql-hackers

From Erik Rijkers
Subject Assertion failure twophase.c (testing HS/SR)
Date
Msg-id 5be04caedc0d403601509c09e5d75062.squirrel@webmail.xs4all.nl
Whole thread Raw
Responses Re: Assertion failure twophase.c (testing HS/SR)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Assertion failure twophase.c (testing HS/SR)  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
9.0devel (cvs yesterday) primary+server, with this patch: extend_format_of_recovery_info_funcs_v2.patch (
http://archives.postgresql.org/pgsql-hackers/2010-02/msg02116.php)
 

A large (500 GB) restore left to run overnight, gave the below crash. The standby was restarted,
and seems to be catching up OK.

LOG:  entering standby mode
LOG:  redo starts at 0/1000020
LOG:  consistent recovery state reached at 0/2000000
LOG:  database system is ready to accept read only connections
TRAP: FailedAssertion("!(((xid) != ((TransactionId) 0)))", File: "twophase.c", Line: 1201)
LOG:  startup process (PID 21044) was terminated by signal 6: Aborted
LOG:  terminating any other active server processes
LOG:  database system was interrupted while in recovery at log time 2010-02-26 06:42:14 CET
HINT:  If this has occurred more than once some data might be corrupted and you might need to
choose an earlier recovery target.
cp: cannot stat `/var/data1/pg_stuff/dump/hotslave/replication_archive/00000001000000150000003F':
No such file or directory
LOG:  entering standby mode
LOG:  redo starts at 15/3400E828
LOG:  consistent recovery state reached at 15/6D6D9FD8
LOG:  database system is ready to accept read only connections


(btw, I think I have seen this exact same one (File "twophase.c", Line: 1201) a few times before,
without reporting it here, so it might have no connection to this particular patch. Sorry to be
vague about that)

Is it useful to report these cases of FailedAssertion?


Erik Rijkers





pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: A thought on Index Organized Tables
Next
From: Tom Lane
Date:
Subject: Re: A thought on Index Organized Tables