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/19 19:40:00 UTC

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

Darrel Schneider created GEODE-5759:
---------------------------------------

             Summary: 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: Test
          Components: eviction
            Reporter: Darrel Schneider


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)