pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tom Jenkinson <tom.jenkinson@redhat.com>
Cc: Ondrej Chaloupka <ochaloup@redhat.com>
Cc: pgsql-general@postgresql.org, pgsql-bugs@postgresql.org, Pavel Raiskup <praiskup@redhat.com>
Subject: Re: Incorrect response code after XA recovery
Date: Mon, 29 Jul 2013 10:46:12 -0400
Message-ID: <26246.1375109172@sss.pgh.pa.us> (raw)
In-Reply-To: <51F679F6.4080504@redhat.com>
References: <399053975.7952081.1375104824437.JavaMail.root@redhat.com>
	<25825.1375105824@sss.pgh.pa.us>
	<51F679F6.4080504@redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Tom Jenkinson <tom.jenkinson@redhat.com> writes:
> A little bit of information in the linked bugzilla report is that the 
> exception being returned has an XA error code of XAER_RMERR "An error 
> occurred in rolling back the transaction branch. The resource manager is 
> free to forget about the branch when returning this error so long as all 
> accessing threads of control have been notified of the branchÂ’s state."

> That does not sound right to me, wouldn't XAER_NOTA "The specified XID 
> is not known by the resource manager" be more accurate?

No idea, but in any case that's outside Postgres' purview.  It's barely
possible that the Postgres JDBC driver has something to do with that,
but it sounds more like the XA manager's turf.

			regards, tom lane


-- 
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 (13+ messages)  latest in thread

Message-ID: <26246.1375109172@sss.pgh.pa.us>
Permalink:  ../26246.1375109172@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26246.1375109172@sss.pgh.pa.us

 · 

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-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tom.jenkinson@redhat.com, ochaloup@redhat.com, praiskup@redhat.com
  Subject: Re: Incorrect response code after XA recovery
  In-Reply-To: <26246.1375109172@sss.pgh.pa.us>
  References: <399053975.7952081.1375104824437.JavaMail.root@redhat.com> <25825.1375105824@sss.pgh.pa.us> <51F679F6.4080504@redhat.com> <26246.1375109172@sss.pgh.pa.us>

* 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