ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Mekhanikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11371) Cache get operation with readThrough returns null if remove is performed concurrently
Date Wed, 20 Feb 2019 14:58:00 GMT
Denis Mekhanikov created IGNITE-11371:
-----------------------------------------

             Summary: Cache get operation with readThrough returns null if remove is performed
concurrently
                 Key: IGNITE-11371
                 URL: https://issues.apache.org/jira/browse/IGNITE-11371
             Project: Ignite
          Issue Type: Bug
            Reporter: Denis Mekhanikov
         Attachments: IgniteInvalidationNullRunner.java

Consider a situation, when you have a cache with {{CacheStore}} and {{readThrough}} configured.

One may expect, that {{IgniteCache#get(...)}} operation will never return {{null}} for keys,
that are present in the underlying {{CacheStore}}. But actually it's possible to get {{null}}
in case if remove operation is called on the same key while {{CacheStore#load}} is running.

Reproducer is attached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message