[jbossts-issues] [JBoss JIRA] (JBTM-1680) Allow 2PC participants to enlist in a compensation-based transaction

Paul Robinson (JIRA) jira-events at lists.jboss.org
Tue May 7 09:38:53 EDT 2013

Paul Robinson created JBTM-1680:

             Summary: Allow 2PC participants to enlist in a compensation-based transaction
                 Key: JBTM-1680
                 URL: https://issues.jboss.org/browse/JBTM-1680
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: TXFramework, XTS
            Reporter: Paul Robinson
            Assignee: Paul Robinson
             Fix For: 5.0.0.Final

In some situations a developer may need to coordinate multiple resources, where some are 2PC and some are not. Here it could be possible to use enlist the 2PC participants in a compensation-based transaction. The xa.prepare happens in the complete phase, the xa.commit during close and xa.rollback during compensate.

This could provide an alternative to LRCO, where the last resource is compensation-based and the other resources remain 2PC. The benefit of this approach is that the failure window associated with LRCO does not exist. The negative of this approach is that the isolation of the compensation-based participant is reduced.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list