Re: Incorrect response code after XA recovery - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Incorrect response code after XA recovery
Date
Msg-id 26246.1375109172@sss.pgh.pa.us
Whole thread Raw
In response to Incorrect response code after XA recovery  (Ondrej Chaloupka <ochaloup@redhat.com>)
Responses Re: Incorrect response code after XA recovery  (Tom Jenkinson <tom.jenkinson@redhat.com>)
List pgsql-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


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Incorrect response code after XA recovery
Next
From: Tom Lane
Date:
Subject: Re: Incorrect response code after XA recovery