[jbossts-issues] [JBoss JIRA] (JBTM-2774) Leak when imported subordinate transactions are rolled back by reaper before remote reaper

Tom Jenkinson (JIRA) issues at jboss.org
Fri Oct 21 10:06:00 EDT 2016


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

Tom Jenkinson updated JBTM-2774:
--------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> Leak when imported subordinate transactions are rolled back by reaper before remote reaper
> ------------------------------------------------------------------------------------------
>
>                 Key: JBTM-2774
>                 URL: https://issues.jboss.org/browse/JBTM-2774
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: Application Server Integration
>            Reporter: Tom Jenkinson
>            Assignee: Tom Jenkinson
>            Priority: Critical
>             Fix For: 4.17.38, 5.2.20.Final, 5.next
>
>
> When using the EJB remoting transport that layers over the top of JCA it is possible for a race condition between the two reapers.
> Normally you have server 1 and server 2. Each of these insert the TwoPhaseCoordinator in their TransactionReaper. If the TransactionReaper in server 2 fires first then it will rollback the TPC.
> When server 1 Reaper EJB remoting transport fires it will try to rollback at server 2 also and it is this that should be safe to remove the transactionImple reference.
> At the time of reporting the reference is not removed though and so the reference to the TransactionImple is not removed.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list