[ https://issues.apache.org/jira/browse/IGNITE-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365993#comment-16365993 ]
ASF GitHub Bot commented on IGNITE-7685: ---------------------------------------- GitHub user andrey-kuznetsov opened a pull request: https://github.com/apache/ignite/pull/3531 IGNITE-7685: Fixed allocation rate. You can merge this pull request into a Git repository by running: $ git pull https://github.com/andrey-kuznetsov/ignite ignite-7685 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/3531.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3531 ---- commit 5c575b187ee2ac07dc34017a26ec37425306108c Author: Andrey Kuznetsov <stkuzma@...> Date: 2018-02-15T17:37:31Z IGNITE-7685: Fixed allocation rate. ---- > 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 -- This message was sent by Atlassian JIRA (v7.6.3#76005)