[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1548) Empty Rollback on XA will cause Journal Errors

Tim Fox (JIRA) jira-events at lists.jboss.org
Wed Mar 18 03:26:33 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBMESSAGING-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457819#action_12457819 ] 

Tim Fox commented on JBMESSAGING-1548:
--------------------------------------

Certainly, we shouldn't force a prepare.

The rollback record should only be written if the tx was prepared.

> Empty Rollback on XA will cause Journal Errors
> ----------------------------------------------
>
>                 Key: JBMESSAGING-1548
>                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1548
>             Project: JBoss Messaging
>          Issue Type: Bug
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>
> Say you start a XA Transaction, and immediately roll it back (without a prepare record), while using real files.
> the Journal will throw an exception: 
> BasicTestXA::testEmptyXID will show this situation. (The failing part of the test will be commented out until this is fixed).
> The same will happen when you have non-persistent messages and rollback without adding a prepare record.
> Note: Since Rollbacks are supposed to be infrequent, a solution could be to force a prepare if prepare wasn't called. (To be disucssed)

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

        



More information about the jboss-jira mailing list