[infinispan-issues] [JBoss JIRA] Created: (ISPN-455) Value removed from cache returned as previos value from putIfAbsent in transaction scope.
Alexander Gavrilov (JIRA)
jira-events at lists.jboss.org
Fri May 21 12:40:06 EDT 2010
Value removed from cache returned as previos value from putIfAbsent in transaction scope.
------------------------------------------------------------------------------------------
Key: ISPN-455
URL: https://jira.jboss.org/browse/ISPN-455
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 4.1.0.BETA1
Reporter: Alexander Gavrilov
Assignee: Manik Surtani
Priority: Critical
Fix For: 4.1.0.CR1
Whe in transaction scope entry removed from cache and later new value inserted using putIfAbsent old (removed) value returned from cache.
cache.put("k1", "v1");
tx.start();
cache.remove("k1");
...
assertNull(cache.putIfAbsent("k1", "v2"));
tx.commit();
now cache.putIfAbsent("k1", "v2") returns "v2";
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list