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

Tom Jenkinson (JIRA) issues at jboss.org
Fri Jun 23 12:23:19 EDT 2017


     [ https://issues.jboss.org/browse/JBTM-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson reassigned JBTM-1680:
-----------------------------------

    Assignee: Michael Musgrove  (was: Tom Jenkinson)


> 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
>          Components: Compensations
>            Reporter: Paul Robinson
>            Assignee: Michael Musgrove
>            Priority: Minor
>             Fix For: 6.later
>
>   Original Estimate: 1 week
>  Remaining Estimate: 1 week
>
> 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 was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list