[infinispan-issues] [JBoss JIRA] (ISPN-2347) SuspectedException while replaying remote commands will cause all subsequent txs to fail.

Mircea Markus (JIRA) jira-events at lists.jboss.org
Wed Sep 26 12:07:03 EDT 2012


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

Mircea Markus commented on ISPN-2347:
-------------------------------------

replayModificationsInTransaction doesn't do the replay in a try/finally. If the replay fails then the local transaction should be rolled back and an exception should be thrown to the remote site.. 
                
> SuspectedException while replaying remote commands will cause all subsequent txs to fail.
> -----------------------------------------------------------------------------------------
>
>                 Key: ISPN-2347
>                 URL: https://issues.jboss.org/browse/ISPN-2347
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cross-Site Replication
>    Affects Versions: 5.2.0.Alpha4
>            Reporter: Erik Salter
>            Assignee: Mircea Markus
>
> If a suspected exception (or any exception) happens when the BackupCacheUpdater (on the bridge end) is applying modifications in replayModifications, the tx is automatically rolled back.  
> However, the subsequent remote command will cause the TransactionManager to throw an exception with:
> javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
> After that, no remote transaction will succeed.  If another site uses this site with the backup policy of SYNC, no writes will succeed.
> The trace log can be found at: https://dl.dropbox.com/u/50401510/5.2.0.ALPHA4/xsite_erm/10.30.12.158/server.log.gz  (Also note that visitCommitCommand has the wrong trace message, and we should really have a trace for visitRollbackCommand)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list