[infinispan-issues] [JBoss JIRA] (ISPN-4376) AdvancedCache.filterEntries(...) does not respect configured cache flags
RH Bugzilla Integration (JIRA)
issues at jboss.org
Tue Aug 12 11:18:30 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992352#comment-12992352 ]
RH Bugzilla Integration commented on ISPN-4376:
-----------------------------------------------
Adrian Nistor <anistor at redhat.com> changed the Status of [bug 1128808|https://bugzilla.redhat.com/show_bug.cgi?id=1128808] from POST to MODIFIED
> AdvancedCache.filterEntries(...) does not respect configured cache flags
> ------------------------------------------------------------------------
>
> Key: ISPN-4376
> URL: https://issues.jboss.org/browse/ISPN-4376
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Affects Versions: 7.0.0.Alpha4
> Reporter: Paul Ferraro
> Assignee: William Burns
> Fix For: 7.0.0.Beta1
>
>
> Consider the following:
> {code}
> Cache<K, V> cache = ...;
> KeyValueFilter<K, V> filter = ...;
> EntryIterator<K, V> entries = cache.getAdvancedCache().withFlags(Flag.CACHE_MODE_LOCAL, Flag.SKIP_CACHE_LOAD).filterEntries(filter);
> {code}
> One would expect this to return only local, in-memory entries, but it instead returns both entries from remote nodes and from a cache loader, effectively ignoring the configured flags.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the infinispan-issues
mailing list