[infinispan-issues] [JBoss JIRA] (ISPN-7932) JCache EntryProcesor not working for replicated cache
Radim Vansa (JIRA)
issues at jboss.org
Thu Jan 4 06:44:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509246#comment-13509246 ]
Radim Vansa commented on ISPN-7932:
-----------------------------------
[~mbrkic] OK, sorry for the confusion... I ran just mvn install, assuming that the reproducer is test-based.
The problem you've encountered is caused by the fact that {{IntWrapper}} does not implement {{equals}} correctly. Under the hood, Infinispan performs a read && conditional replace which fails as the {{IntWrapper}} is marshalled during the replace and later it does not match the stored instance.
The fact that this is not reported (as the replace not being able to succeed) is a bug, I am going to deal with it as a part of ISPN-8651.
> JCache EntryProcesor not working for replicated cache
> -----------------------------------------------------
>
> Key: ISPN-7932
> URL: https://issues.jboss.org/browse/ISPN-7932
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 9.0.1.Final
> Environment: Ubuntu Linux 4.4.0-79-generic x86_64
> java version "1.8.0_131"
> Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
> Reporter: Miljenko Brkic
> Assignee: Dan Berindei
> Attachments: jcache.tar.gz
>
>
> Cached value updated via EntryProcessor is not updated in replicated cache.
> Please find attached test application to reproduce the problem. Two instances of application increment cached value, but for one instance new value is not put in the cache (see steps to reproduce).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list