[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1499) Race condition in RegionManager.createRegion
Dennis Reed (JIRA)
jira-events at lists.jboss.org
Fri Mar 27 14:24:23 EDT 2009
Race condition in RegionManager.createRegion
--------------------------------------------
Key: JBCACHE-1499
URL: https://jira.jboss.org/jira/browse/JBCACHE-1499
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Eviction
Affects Versions: 1.4.X
Reporter: Dennis Reed
Assignee: Manik Surtani
There is a race condition in RegionManager.createRegion.
If two calls to create a region with the same FQN come in at the same time, they may both succeed.
The last one to be added will win in the RegionManager (stored in a ConcurrentHashMap), while the first will win in the EvictionTimerTask (stored in a HashSet).
This will cause the Region to not be monitored for evictions, and allow the eviction queue to fill up.
--
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 jbosscache-issues
mailing list