Re: Incorrect response code after XA recovery

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom Jenkinson <tom(dot)jenkinson(at)redhat(dot)com>
Cc: Ondrej Chaloupka <ochaloup(at)redhat(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org, Pavel Raiskup <praiskup(at)redhat(dot)com>
Subject: Re: Incorrect response code after XA recovery
Date: 2013-07-29 14:46:12
Message-ID: 26246.1375109172@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general pgsql-jdbc

Tom Jenkinson <tom(dot)jenkinson(at)redhat(dot)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 branchs 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Jenkinson 2013-07-29 14:57:35 Re: Incorrect response code after XA recovery
Previous Message Tom Jenkinson 2013-07-29 14:19:34 Re: Incorrect response code after XA recovery

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-07-29 14:51:29 Re: to_char with locale decimal separator
Previous Message Ingmar Brouns 2013-07-29 14:27:45 Re: to_char with locale decimal separator

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Jenkinson 2013-07-29 14:57:35 Re: Incorrect response code after XA recovery
Previous Message Tom Jenkinson 2013-07-29 14:19:34 Re: Incorrect response code after XA recovery