When activating an entry, don't remove from cachestore if cachestore is shared
------------------------------------------------------------------------------
Key: ISPN-901
URL:
https://issues.jboss.org/browse/ISPN-901
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 4.2.0.Final
Reporter: Manik Surtani
Assignee: Manik Surtani
Priority: Critical
Fix For: 4.2.1.Final
... since other nodes may be relying on the entry being present in the shared store.
This pattern fails, for example:
{code}
NodeA.put(k, v) // replicates to NodeB as well
NodeA.evict(k) // k gets persisted
NodeB.evict(k) // k gets persisted
NodeA.get(k) // k gets activated and removed from the store
NodeB.get(k) // fails! NodeB won't ever see k again!
{code}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira