You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2018/09/25 19:38:00 UTC

[jira] [Updated] (GEODE-5759) VMLRURegionMap.centralizedLruUpdateCallback does not always return the correct value

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

Darrel Schneider updated GEODE-5759:
------------------------------------
    Issue Type: Bug  (was: Test)

> VMLRURegionMap.centralizedLruUpdateCallback does not always return the correct value
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-5759
>                 URL: https://issues.apache.org/jira/browse/GEODE-5759
>             Project: Geode
>          Issue Type: Bug
>          Components: eviction
>            Reporter: Darrel Schneider
>            Priority: Major
>
> VMLRURegionMap.centralizedLruUpdateCallback is supposed to return the number of bytes it evicts. This is used by the caller to decide if it has done enough work.
> But if centralizedLruUpdateCallback evicts more than one entry then it returns only the number of bytes in the last entry it evicted.
> It should be changed to accumulate how many bytes it evicts.
> This bug will impact heap percentage eviction but not memory byte eviction nor entry count eviction.



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