[infinispan-issues] [JBoss JIRA] Updated: (ISPN-455) Value removed from cache still be visible to putIfAbsent in single transaction scope.
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Fri May 28 10:46:08 EDT 2010
[ https://jira.jboss.org/browse/ISPN-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus updated ISPN-455:
-------------------------------
Fix Version/s: 4.1.0.BETA2
(was: 4.1.0.CR1)
> Value removed from cache still be visible to putIfAbsent in single 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.BETA2
>
> Attachments: testPutIfAbsentAfterRemoveInTx.patch
>
>
> If entry removed from cache new value can't be inserted using putIfAbsent in the same transaction.
> 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