[jbosscache-issues] [JBoss JIRA] Commented: (JBCACHE-1601) cache.getNode can delete data when using a passivation cache loader

Dennis Reed (JIRA) jira-events at lists.jboss.org
Tue Jul 19 17:23:23 EDT 2011


    [ https://issues.jboss.org/browse/JBCACHE-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615271#comment-12615271 ] 

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

        


More information about the jbosscache-issues mailing list