PojoCache to add additional internal mapping to promote concurrent access
-------------------------------------------------------------------------
Key: JBCACHE-981
URL:
http://jira.jboss.com/jira/browse/JBCACHE-981
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.BETA2
Currently we use flat mapping for the internal fqn. But this creates problem for
concurrent access as every pojo will contend for the root access, e.g.,
"__JBossInternal__/xxx". End result is there will be lock upgrade exception and
needs to be re-tried. The proposed solution is to use additional layer of mapping, e.g.,
Internal fqn is now structured as:
* a) If no region -- /__JBossInternal__/realId/__ID__/xxxx
* b) If there is region -- /region/__JBossInternal__/xxx
--
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