[infinispan-issues] [JBoss JIRA] (ISPN-4559) Replace fails with cache loader
RH Bugzilla Integration (JIRA)
issues at jboss.org
Mon Jan 26 09:04:06 EST 2015
[ https://issues.jboss.org/browse/ISPN-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034927#comment-13034927 ]
RH Bugzilla Integration commented on ISPN-4559:
-----------------------------------------------
Dave Stahl <dstahl at redhat.com> changed the Status of [bug 1122269|https://bugzilla.redhat.com/show_bug.cgi?id=1122269] from VERIFIED to CLOSED
> Replace fails with cache loader
> -------------------------------
>
> Key: ISPN-4559
> URL: https://issues.jboss.org/browse/ISPN-4559
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 7.0.0.Alpha5
> Reporter: Dennis Reed
> Assignee: Pedro Ruivo
> Priority: Critical
> Fix For: 7.0.0.Beta2
>
>
> cache.replace(key, oldValue, newValue) compares the current value in the cache to oldValue, and if they differ it turns into a no-op.
> However, CacheLoaderInterceptor does not load entries for a ReplaceCommand.
> If the entry only exists in the loader and not in memory, this causes the replace to fail.
> CacheLoaderInterceptor must always load the value for a ReplaceCommand.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list