Radim Vansa created ISPN-8226:
---------------------------------
Summary: 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)