[
https://issues.jboss.org/browse/JBCACHE-1601?page=com.atlassian.jira.plug...
]
Dennis Reed commented on JBCACHE-1601:
--------------------------------------
org.jboss.cache.interceptors.CacheLoaderInterceptor
loadIfNeeded(bypassLoadingData=true) creates a node in memory, but does not load the
data
PassivationInterceptor doesn't check to see if the data is loaded:
node.isDataLoaded()
This affects both CacheLoaderInterceptor/PassivationInterceptor and
LegacyCacheLoaderInterceptor/LegacyPassivationInterceptor.
It also affects getChildrenNames (the only other call that sets bypassLoadingData=true).
cache.getNode can delete data when using a passivation cache loader
-------------------------------------------------------------------
Key: JBCACHE-1601
URL:
https://issues.jboss.org/browse/JBCACHE-1601
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 3.2.5.GA
Reporter: Dennis Reed
Assignee: Dennis Reed
When cache.getNode loads a passivated node, the data is not loaded, but it does trigger
an eviction event.
When eviction then passivates the node again, the data is overwritten.
Similar to JBCACHE-825.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira