]
Manik Surtani resolved ISPN-455.
--------------------------------
Resolution: Done
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.CR1
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: