[infinispan-issues] [JBoss JIRA] (ISPN-5134) Cluster Cache Loader returns null as a valid value

Dan Berindei (JIRA) issues at jboss.org
Fri Jan 16 13:19:49 EST 2015


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

Dan Berindei edited comment on ISPN-5134 at 1/16/15 1:19 PM:
-------------------------------------------------------------

[~kikosha] I think you can modify ClusterLoader to just remove {{null}} (or rather {{SuccessfulResponse(null)}}) from the set of responses if there are any other values.


was (Author: dan.berindei):
[~kikosha] I think you can modify ClusterLoader to just remove {{null}} (or rather {{SuccessfulResponse(null)}} from the set of responses if there are any other values.

> Cluster Cache Loader returns null as a valid value
> --------------------------------------------------
>
>                 Key: ISPN-5134
>                 URL: https://issues.jboss.org/browse/ISPN-5134
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 7.0.3.Final
>            Reporter: William Burns
>
> Found this at http://stackoverflow.com/questions/27840070/infinispan-cluster-in-invalidation-mode-getkey-returns-null-though-some-node
> I tweaked the ClusterCacheLoaderTest to have a 3rd cache manager and I can see intermittent failures in either test due to using a null value from a different node.
> Unfortunately this isn't as simple as tweaking ClusteredGetResponseValidityFilter to only say a valid response on a non null, since JGroups will throw an exception when there are no responses.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list