ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanunnikov Pavel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-12034) containsKey() does not work correct in some cases
Date Fri, 02 Aug 2019 08:14:00 GMT
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

View raw message