pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: New kind of crash?
Date: Sun, 10 Mar 2013 22:22:40 -0300
Message-ID: <20130311012240.GA9412@alvh.no-ip.org> (raw)
In-Reply-To: <513BCD25.40003@agliodbs.com>
References: <513A81F2.5060409@agliodbs.com>
	<20130309032708.GF5352@alvh.no-ip.org>
	<513BCD25.40003@agliodbs.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Josh Berkus wrote:
> On 03/08/2013 07:27 PM, Alvaro Herrera wrote:
> > Josh Berkus wrote:
> >> Folks,
> >>
> >> This is one I've never seen before:
> >>
> >> => select generate_master_tables();
> >> WARNING:  AbortTransaction while in COMMIT state
> >> PANIC:  cannot abort transaction 9387287, it was already committed
> > 
> > Anything that causes an ERROR in the final stages of a transaction
> > commit will look like this.  Maybe, for example, something tried to
> > acquire more shared memory for something (serializable xact?) but that
> > was already full because of lock objects.
> 
> Well, is it worth trying to reproduce and diagnose?

IMO it's worth adding enough protections that in these situations you
get regular ERRORs rather than PANICs, assuming the scenario is not too
contrived and the required patches are not too complex.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <20130311012240.GA9412@alvh.no-ip.org>
Permalink:  ../20130311012240.GA9412@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20130311012240.GA9412@alvh.no-ip.org

 · 

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 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: alvherre@2ndquadrant.com, josh@agliodbs.com
  Subject: Re: New kind of crash?
  In-Reply-To: <20130311012240.GA9412@alvh.no-ip.org>
  References: <513A81F2.5060409@agliodbs.com> <20130309032708.GF5352@alvh.no-ip.org> <513BCD25.40003@agliodbs.com> <20130311012240.GA9412@alvh.no-ip.org>

* 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