[infinispan-issues] [JBoss JIRA] (ISPN-8226) PutIfAbsent can succeed in scattered cache on non-null entry

Radim Vansa (JIRA) issues at jboss.org
Fri Aug 25 08:09:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Vansa closed ISPN-8226.
-----------------------------
    Release Notes Text: Actually this bug applies only when ISPN-8078 is in place; I'll merge the fix with ISPN-8078 PR instead.
            Resolution: Rejected


> PutIfAbsent can succeed in scattered cache on non-null entry
> ------------------------------------------------------------
>
>                 Key: ISPN-8226
>                 URL: https://issues.jboss.org/browse/ISPN-8226
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.1.0.Final
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>
> When the {{putIfAbsent}} is a retry, the value/metadata in RepeatableReadEntry is reset to the first loaded version. However if this command caused a prefetch from remote node after finding {{RemoteMetadata}} locally, the first loaded version is the remote metadata and the value updated by prefetch is reset, despite the prefetched value being already inserted into DC. The command sees {{null}} as cache value and since the seen version matches to the version in DC, the write is allowed.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list