[jbossts-issues] [JBoss JIRA] Commented: (JBTM-365) addSynchronization calls during beforeCompletion are problematic

Andrew Dinn (JIRA) jira-events at lists.jboss.org
Mon May 19 11:58:59 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBTM-365?page=comments#action_12413238 ] 
            
Andrew Dinn commented on JBTM-365:
----------------------------------

"Asynch calls to ...addSynchronization during beforeCompletion" ???

Is there a really good reason for making asynch calls? If so then this raises issues for the asynchronous  addSynchronization client as well as the implementation of beforeCompletion. Specifically, how can you ensure that the asynch calls occur before the end of beforeCompletion processing? Can you please provide more details of what is required here?


> addSynchronization calls during beforeCompletion are problematic
> ----------------------------------------------------------------
>
>                 Key: JBTM-365
>                 URL: http://jira.jboss.com/jira/browse/JBTM-365
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA Implementation
>    Affects Versions: 4.3.0.GA
>            Reporter: Steven Hawkins
>
> Asynch calls to com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.addSynchronization during beforeCompletion are problematic since access to _currentRecord and _synchs is unsynchronized in addSynchronization wrt beforeCompletion.  This is similar to JBTM-188.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossts-issues mailing list