Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.6, 2.2.1, 3.0.0
-
Security Level: public (Regular issues)
-
None
Description
Transaction recovery will commit the first xid that is associated with a prepared transaction that is recovered from an XAResource enrolled in that transaction. That might not be the branch that was prepared on that XAResource.
This can happen if more than one XAResource is attached to the same resource manager with different names, for instance for inbound and outbound connections.
Thanks to Benedict Ritchie for discovering this problem.