Wellington Chevreuil created HBASE-28176:
--------------------------------------------

             Summary: PrefetchExecutor should stop once cache reaches capacity
                 Key: HBASE-28176
                 URL: https://issues.apache.org/jira/browse/HBASE-28176
             Project: HBase
          Issue Type: Improvement
            Reporter: Wellington Chevreuil
            Assignee: Wellington Chevreuil


The prefetch executor runs a full scan on regions in the background once 
regions are opened, if the "hbase.rs.prefetchblocksonopen" property is set to 
true. However, if the store file size is much larger than the cache capacity, 
we should interrupt the prefetch once it has reached the cache capacity, 
otherwise it would just be triggering evictions of little value, since we don't 
have any sense of block priority at that point. It's better to stop the read, 
and let client reads cause the eviction of LFU blocks and cache the most 
accessed blocks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to