jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-455) InternalXAResource.rollback() can be called twice and without prepare
Date Fri, 09 Jun 2006 09:34:29 GMT
InternalXAResource.rollback() can be called twice and without prepare
---------------------------------------------------------------------

         Key: JCR-455
         URL: http://issues.apache.org/jira/browse/JCR-455
     Project: Jackrabbit
        Type: Bug

 Environment: r412989
    Reporter: Tobias Bocanegra
 Assigned to: Tobias Bocanegra 


during the prepare phase in the transaction context, each resource is 'prepared'. if one of
them fails to prepare, the rest is rolledback, and later all of them are rolledback again.
this can cause that:
- a resource that is never prepared is rolled back (which is ok, since is may need to cleanup
stuff)
- a resource's rollback() may be called twice (which i don't know, if it's ok)

however, some of the resources are buggy and can't handle neither case correctly.

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


Mime
View raw message