[infinispan-issues] [JBoss JIRA] (ISPN-6948) L1 not cleared in pessimistic tx cache.
Radim Vansa (JIRA)
issues at jboss.org
Mon Aug 15 06:00:02 EDT 2016
Radim Vansa created ISPN-6948:
---------------------------------
Summary: L1 not cleared in pessimistic tx cache.
Key: ISPN-6948
URL: https://issues.jboss.org/browse/ISPN-6948
Project: Infinispan
Issue Type: Bug
Reporter: Radim Vansa
When an entry is written on non-owner, it is L1-cached, but if another non-owner removes the entry, the node that wrote it is not notified and keeps the value. This happens because {{ctx.getAffectedKeys()}} is not updated properly on non-originator.
Reproducer:
{code}
MagicKey key = new MagicKey(caches.get(0), caches.get(1));
Cache cache2 = caches.get(2);
Cache cache3 = caches.get(3);
cache2.put(key, "value");
assertEquals(cache3.remove(key), "value");
assertNull(cache2.get(key));
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list