You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Kanunnikov Pavel (JIRA)" <ji...@apache.org> on 2019/08/02 08:14:00 UTC

[jira] [Created] (IGNITE-12034) containsKey() does not work correct in some cases

Kanunnikov Pavel created IGNITE-12034:
-----------------------------------------

             Summary: containsKey() does not work correct in some cases
                 Key: IGNITE-12034
                 URL: https://issues.apache.org/jira/browse/IGNITE-12034
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.7.5
            Reporter: Kanunnikov Pavel
         Attachments: reproducing_example.java

{{containsKey()}} method does not work correct in some cases. Steps to reproduce:
# create cache with {{CacheMode.LOCAL}} cache mode and {{CacheAtomicityMode.TRANSACTIONAL}} atomicity mode
# start transaction
# put some entry to the cache
# commit and close transaction
# start another new transaction
# try to call {{containsKey()}} for the existing entry (which has been added at step 3)
# check result. It will be {{false}}. But entry with such key exists! We can also get it by {{get() method}}.
# commit/rollback and close transaction

Bug checked in versions: {{2.6.0}}, {{2.7.0}}, {{2.7.5}}.

Simple reproducing example attached to this issue.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)