[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-236) cache.putIfAbsent() is not atomic
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Wed Oct 28 06:18:05 EDT 2009
[ https://jira.jboss.org/jira/browse/ISPN-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus resolved ISPN-236.
--------------------------------
Resolution: Done
fixed by placing replication interceptor before locking interceptor and fixing race condition in EntryFactoryImpl.
> cache.putIfAbsent() is not atomic
> ---------------------------------
>
> Key: ISPN-236
> URL: https://jira.jboss.org/jira/browse/ISPN-236
> Project: Infinispan
> Issue Type: Bug
> Components: Locking and Concurrency
> Affects Versions: 4.0.0.BETA2
> Reporter: Sanne Grinovero
> Assignee: Mircea Markus
> Priority: Blocker
> Fix For: 4.0.0.CR1
>
>
> cache.putIfAbsent() should be atomic but it appears there's a race condition possible when a value is put in a key which didn't exist before.
> This was tested to fail in LOCAL, REPL and DIST modes.
> Assigned to Mircea as he's working on it already.
--
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 infinispan-issues
mailing list