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

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Mar 24 12:49:45 EDT 2011


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

Manik Surtani commented on ISPN-888:
------------------------------------

Merged into master.

Before you close this issue pls make sure the wiki is updated with instructions and ping Galder to update the Hibernate 2LC impl to use this by default.

> 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