Flemming Harms created ISPN-3751:
------------------------------------
Summary: PutFromLoadValidator read stale data from the cache.
Key: ISPN-3751
URL:
https://issues.jboss.org/browse/ISPN-3751
Project: Infinispan
Issue Type: Bug
Components: Locking and Concurrency
Affects Versions: 4.2.1.FINAL
Reporter: Flemming Harms
Assignee: Mircea Markus
Hi,
This problem actual started as a investigation on the JBoss Cache in a cluster, but we
believe this also exists in Infinispan. We able to reproduce it with Infinispan also.
It's a combination of a problem in the Hibernate 2LC and Infinispan so I might not be
the right place to create this jira.
This is what we have been able to find out so far. "When an invalidation event
arrived on node #2 there is no callback to the 2LC layer that will make sure to call
invalidate. Another problem we discover was if a collection is invalidated on node #1
twice in a row the second time no invalidation event is broadcasts to node #2, and that’s
a problem because in between invalidation event #1 and #2 the PutFromLoadValidator is
called on node #2 and this makes it read stale data from the cache.
The forum link contains a possible patch for Infinispan and Hibernate 2LC, but there
might be other areas in the code the patch could introduce a problem for
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira