dlmarion commented on PR #6156:
URL: https://github.com/apache/accumulo/pull/6156#issuecomment-3985871861

   In 40cafc0 I made some changes to handle the max cache size manually instead 
of letting Caffeine handle this case. The Caffeine cache is being used to 
handle the expiration of KeyExtents from the `extents` set based on last access 
time. The issue with Caffeine when nearing the max size is that it will select 
entries in the Cache for eviction that are new. We don't want this behavior as 
we are pre-fetching KeyExtents from the metadata table for performance reasons. 
The new logic asks Caffeine for a set of entries that are the coldest, then 
removes the ones that before the KeyExtent that we are searching for.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to