[ 
https://issues.apache.org/jira/browse/IGNITE-7967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548224#comment-16548224
 ] 

Andrey Gura commented on IGNITE-7967:
-------------------------------------

[~cyberdemon] I've looked to your change and I believe it is very complex 
solution for this issue. I believe that the simplest way to solve problem is 
just always count allocated pages. Just ignore {{metricsEnabled}} flag.

> DataRegionMetrics#totalAllocatedPages is invalid if metrics were enabled at 
> runtime
> -----------------------------------------------------------------------------------
>
>                 Key: IGNITE-7967
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7967
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>    Affects Versions: 2.3
>            Reporter: Alexey Goncharuk
>            Assignee: Dmitriy Sorokin
>            Priority: Major
>              Labels: iep-6
>             Fix For: 2.7
>
>
> {{totalAllocatedPages}} is updated during runtime via callback. When metrics 
> are enabled at runtime, some pages may be already allocated, thus the metric 
> shows invalid value.



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

Reply via email to