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

ASF subversion and git services commented on GEODE-3869:
--------------------------------------------------------

Commit 4e1c63ca1eab154f24c9a79757e9600496494224 in geode's branch 
refs/heads/develop from [~agingade]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=4e1c63c ]

GEODE-3869: Fix early eviction. (#1152)

* GEODE-3869: Fix early eviction.

While code review found that the refactoring moved 
"evictionNode.unsetRecentlyUsed()" to
"appendEntry()" which gets call by other places (adding entry into the list); 
this causes
the recently used entry to be evicted early.


> Refactor eviction code
> ----------------------
>
>                 Key: GEODE-3869
>                 URL: https://issues.apache.org/jira/browse/GEODE-3869
>             Project: Geode
>          Issue Type: Improvement
>          Components: eviction
>            Reporter: Kirk Lund
>            Assignee: Darrel Schneider
>             Fix For: 1.4.0
>
>
> Refactor eviction:
> * repackage internal.cache.lru as internal.cache.eviction [1]
> * remove collision between interfaces LRUClockNode and RegionEntry [2]
> [1] I want to repackage org.apache.geode.internal.cache.lru as 
> org.apache.geode.internal.cache.eviction to prepare for renaming LRU classes 
> to be Eviction classes.
> [2] both interfaces define `void setRecentlyUsed();` -- both of which are 
> implemented by region entries 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to