[
https://issues.apache.org/jira/browse/IGNITE-8073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Kuznetsov updated IGNITE-8073:
-------------------------------------
Description:
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().
was:
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().
See also
http://apache-ignite-developers.2346864.n4.nabble.com/Near-cache-entry-removal-td28698.html
> 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
> Affects Versions: 2.4
> Reporter: Alexey Kuznetsov
> Assignee: Alexey Kuznetsov
> Priority: Major
> Fix For: 2.6
>
> Attachments: GridCacheNearAtomicMetricsSelfTest.java
>
>
> 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)