[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1360) ClusteredCacheLoader.getChildrenNames() returns a null if it cannot connect to the cluster

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Jun 4 13:09:20 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBCACHE-1360?page=all ]

Manik Surtani resolved JBCACHE-1360.
------------------------------------

    Resolution: Done

> ClusteredCacheLoader.getChildrenNames() returns a null if it cannot connect to the cluster
> ------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-1360
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1360
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Cache loaders
>    Affects Versions: 2.1.1.GA
>            Reporter: Manik Surtani
>         Assigned To: Manik Surtani
>             Fix For: 2.2.0.GA
>
>
> This is a pretty nasty problem, since according to the CacheLoader interface contract, getChildrenNames() returning null is a VALID response meaning that there are no children for the node in question, causing the CacheLoaderInterceptor to remove all children on the node.
> The CCL should actually throw an exception of it cannot connect to the cluster - or if the cluster is empty - and hence cannot know the result of getChildrenNames().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list