[infinispan-issues] [JBoss JIRA] Commented: (ISPN-888) Support both Synchronization and XAResource for interacting with the TransactionManager

Mircea Markus (JIRA) jira-events at lists.jboss.org
Mon Mar 28 08:23:37 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592115#comment-12592115 ] 

Mircea Markus commented on ISPN-888:
------------------------------------

docs updated: http://community.jboss.org/wiki/Infinispantransactions#Enlisting_Synchronization

> Support both Synchronization and XAResource for interacting with the TransactionManager
> ---------------------------------------------------------------------------------------
>
>                 Key: ISPN-888
>                 URL: https://issues.jboss.org/browse/ISPN-888
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Transactions
>    Affects Versions: 4.2.0.Final
>            Reporter: Mircea Markus
>            Assignee: Mircea Markus
>            Priority: Blocker
>             Fix For: 5.0.0.BETA1, 5.0.0.FINAL
>
>
> This might be a configuration option on <transaction registerSynchronization="true" .../>. This would be false by default.
> Syncs have the advantage that TMs can optimise 2PC with a 1PC where only 1 XAResource is present.  
> Useful when used as a simple cache in front of a DB.  E.g., as a Hibernate second level cache: if the cache would register itself with the TM as a XAResource than at commit time, the TM would see two XAResources (cache and db) and would not be able to make this optimization. This means that it would write to disk tx logs - time consuming. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list