You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2018/03/29 09:11:00 UTC

[jira] [Created] (IGNITE-8073) Cache read metric is calculated incorrectly in atomic cache.

Alexey Kuznetsov created IGNITE-8073:
----------------------------------------

             Summary: Cache read metric is calculated incorrectly in atomic cache.
                 Key: IGNITE-8073
                 URL: https://issues.apache.org/jira/browse/IGNITE-8073
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Alexey Kuznetsov


In atomic cache with near enabled we perform put and remove operations.
After it, get operation is called.
Now, cache 'read' metric is calculated incorrectly, because it takes into account near cache entry.

Reproducer is attached.

Note that remove operation untracks 'reader' node from dht cache entry, but near cache entry still exists. The following test checks it :
GridCacheAtomicNearCacheSelfTest#checkNearCache, see checkReaderRemove().



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