Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.2
-
Fix Version/s: 2.1.3
-
Labels:
-
Number of attachments :
Description
In the PostgreSQL JDBC driver the PGXAConnection.commitOnePhase() (and other methods too) throws an XAException with the error code XAException.XAER_RMERR when a server-side error occurs during database commit. This is not handled in Committer.CommitJob.handleXAException()'s `switch (xaException.errorCode)'. The result of this behavior is that the transaction manager reports that the transaction is successfully committed but the underlying database transaction remains open.
Activity
Ludovic Orban
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.1.3 [ 18046 ] |
Ludovic Orban
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Stéphane Nicoll
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Yes, that's a bug in the 1PC optimization's error handling logic. I'll fix this ASAP.