Re: Assertion failure twophase.c (2) (testing HS/SR)

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Erik Rijkers <er@xs4all.nl>
Cc: pgsql-hackers@postgresql.org, Simon Riggs <simon@2ndQuadrant.com>
Date: 2010-03-11T09:29:21Z
Lists: pgsql-hackers
Erik Rijkers wrote:
> in a 9.0devel, primary+standby, cvs from 2010.03.04 01:30
> 
> With three patches:
> 
>   new_smart_shutdown_20100201.patch
>   extend_format_of_recovery_info_funcs_v4.20100303.patch

Got a link to these two patches? I couldn't find them with a quick search.

>   fix-KnownAssignedXidsRemoveMany-1.patch
> 
>   pg_dump -d $db8.4.2 | psql -d $db9.0devel-primary
> 
> FailedAssertion, File: "twophase.c", Line: 1201.
> 
> The standby was restarted and seems to catch up OK again.
> ...
> see also:
> http://archives.postgresql.org/pgsql-hackers/2010-02/msg02221.php

I'm still not any wiser on what's causing that, but I've fixed the bug
in KnownAssignedXidsMany() now.

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com