[ 
https://issues.apache.org/jira/browse/IGNITE-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kuznetsov updated IGNITE-7685:
-------------------------------------
    Description: 
Each call of 
{{org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl#updateTotalAllocatedPages}}
 performs {{allocRate.onHit()}} call which is not correct since delta can be 
negative or bigger that 1.

Need to fix allocationRate counting. The fix should affect only "proper" 
allocations, as opposed to allocations made during recovery, storage 
initialization, etc. 

  was:
Each call of 
{{org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl#updateTotalAllocatedPages}}
 performs {{allocRate.onHit()}} call which is not correct since delta can be 
negative or bigger that 1.

Need to fix allocationRate counting


> Incorrect AllocationRate counting
> ---------------------------------
>
>                 Key: IGNITE-7685
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7685
>             Project: Ignite
>          Issue Type: Task
>    Affects Versions: 2.4
>            Reporter: Anton Vinogradov
>            Assignee: Andrey Kuznetsov
>            Priority: Major
>             Fix For: 2.5
>
>
> Each call of 
> {{org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl#updateTotalAllocatedPages}}
>  performs {{allocRate.onHit()}} call which is not correct since delta can be 
> negative or bigger that 1.
> Need to fix allocationRate counting. The fix should affect only "proper" 
> allocations, as opposed to allocations made during recovery, storage 
> initialization, etc. 



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

Reply via email to