-
Bug
-
Resolution: Done
-
Critical
-
4.0.0.Final, 4.1.0.BETA1
-
None
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";