You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Shu (Jira)" <ji...@apache.org> on 2022/05/10 19:13:00 UTC

[jira] [Created] (GEODE-10294) Need to consider invalid token when comparing value during putIfAbsent

Eric Shu created GEODE-10294:
--------------------------------

             Summary: Need to consider invalid token when comparing value during putIfAbsent
                 Key: GEODE-10294
                 URL: https://issues.apache.org/jira/browse/GEODE-10294
             Project: Geode
          Issue Type: Bug
          Components: regions
            Reporter: Eric Shu


During retry of putIfAbsent, there is a possibility that value has been created by the initial operation. Geode treats this as a successful operation, so that client initiated the operation will also create the entry in its local cache. However, putIfAbsent of null is a special case, as an Invalid Token is created instead of null value being put into the region entry. Need to handle this special case for above value comparison.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)