[jboss-jira] [JBoss JIRA] Created: (JBCACHE-933) PojoCache to create a cache wrapper to retry when upgradeexception is encountered

Ben Wang (JIRA) jira-events at jboss.com
Wed Jan 10 07:17:48 EST 2007


PojoCache to create a cache wrapper to retry when upgradeexception is encountered
---------------------------------------------------------------------------------

                 Key: JBCACHE-933
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-933
             Project: JBoss Cache
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: PojoCache
            Reporter: Ben Wang
         Assigned To: Ben Wang
             Fix For: 2.0.0.BETA1


Current 2.0 release becuase of lock contention on __JBossInternal__, it becomes much more common to have lock UpgradeException. Solutions are:

1. Fix the underlying cache lock algorithm to allow lock upgrade. This can be tricky since it affects lots of other codes.
2. Re-try the logic in a Cache wrapper when UpgradeException is encountered.

I think option #2 is the best route now. 

-- 
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