[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1303) Invalidation is not transactional

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Mar 3 12:27:58 EST 2008


Invalidation is not transactional
---------------------------------

                 Key: JBCACHE-1303
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1303
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.1.0.CR4
            Reporter: Brian Stansberry
         Assigned To: Manik Surtani


Invalidation is not transactional, particularly with optimistic locking.

1) With OL, the invalidation messages are sent in the afterCompletion() phase.  So, if there is a problem with the invalidation it is too late to roll back the tx.

2) With PL, there is no handling of tx rollback (i.e. undo the invalidation).  This is less of an issue, as it can be argued that not rolling back an invalidation doesn't leave a PL cache in an inconsistent state.

Will discuss in more detail on forum thread.

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

        



More information about the jboss-jira mailing list