[infinispan-issues] [JBoss JIRA] (ISPN-4220) RemoteCacheManager.getCache may ignore the forceReturnValue flag
RH Bugzilla Integration (JIRA)
issues at jboss.org
Tue Sep 22 16:05:00 EDT 2015
[ https://issues.jboss.org/browse/ISPN-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13111474#comment-13111474 ]
RH Bugzilla Integration commented on ISPN-4220:
-----------------------------------------------
Dave Stahl <dstahl at redhat.com> changed the Status of [bug 1259914|https://bugzilla.redhat.com/show_bug.cgi?id=1259914] from NEW to MODIFIED
> RemoteCacheManager.getCache may ignore the forceReturnValue flag
> ----------------------------------------------------------------
>
> Key: ISPN-4220
> URL: https://issues.jboss.org/browse/ISPN-4220
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 6.0.2.Final, 7.0.0.Alpha3
> Reporter: Radim Vansa
> Assignee: Galder Zamarreño
> Fix For: 8.0.0.Beta3, 7.2.4.Final
>
>
> {code}
> RemoteCacheManager manager = ...;
> Cache noReturnCache = manager.getCache("foo", false);
> Cache returnValueCache = manager.getCache("foo", true);
> {code}
> The second returned cache will use forceReturnValue=false, although it was retrieved with forceReturnValue=true. The reason is that caches are stored in a map by name, ignoring this flag.
> There should be two such maps. The question is what should getCache("foo") return if previously only getCache("foo", true) was called.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list