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

Clebert Suconic (JIRA) jira-events at lists.jboss.org
Tue Mar 17 19:26:22 EDT 2009


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