[JBoss JIRA] (ISPN-5645) JCache Processor does not update for a store-as-binary cache
by Patrick Ruckstuhl (JIRA)
Patrick Ruckstuhl created ISPN-5645:
---------------------------------------
Summary: JCache Processor does not update for a store-as-binary cache
Key: ISPN-5645
URL: https://issues.jboss.org/browse/ISPN-5645
Project: Infinispan
Issue Type: Bug
Components: JCache
Affects Versions: 7.2.2.Final
Reporter: Patrick Ruckstuhl
If a cache that is configured with store-as-binary is used in jcache and a processor is invoked, the value will never be changed.
The problem seems to be that the in
JCache.invoke()
V oldValue = skipCacheLoadCache.get(key);
is retrieved
and this is a different instance than retrieved in
AbstractJCache.replace()
with V current = existsCheckCache.get(key);
so when
if (isConditional && !current.equals(oldValue))
is called (and the value doesn't implement equal) they are never equal even though the value never changed.
This is also related to ISPN-5504
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
[JBoss JIRA] (ISPN-5644) IsMarshallableInterceptor doesn't check serializability of LockControlCommand keys
by Dan Berindei (JIRA)
Dan Berindei created ISPN-5644:
----------------------------------
Summary: IsMarshallableInterceptor doesn't check serializability of LockControlCommand keys
Key: ISPN-5644
URL: https://issues.jboss.org/browse/ISPN-5644
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.0.0.Beta2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 8.0.0.Beta3
{{IsMarshallableInterceptor}} checks the serializability of the collection, which tries to serialize it the first time, and then it skips the serialization regardless of what keys are in it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months