[jira] [Created] (IGNITE-11371) Cache get operation with readThrough returns null if remove is performed concurrently

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-11371) Cache get operation with readThrough returns null if remove is performed concurrently

Anton Vinogradov (Jira)
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)