You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Janardhan Hungund (Jira)" <ji...@apache.org> on 2024/04/17 06:32:00 UTC

[jira] [Created] (HBASE-28527) Adjust BlockCacheKey to use the file path instead of file name.

Janardhan Hungund created HBASE-28527:
-----------------------------------------

             Summary: Adjust BlockCacheKey to use the file path instead of file name.
                 Key: HBASE-28527
                 URL: https://issues.apache.org/jira/browse/HBASE-28527
             Project: HBase
          Issue Type: Task
          Components: BucketCache
            Reporter: Janardhan Hungund


The time-based priority eviction policy relies on the presence of path in the BlockCacheKey to fetch the required metadata to check data hotness and decide whether or not to retain the block in the bucket cache.

Hence, the constructor of BlockCacheKey is adjusted to take the file path as the input parameter. The code paths that create the blockCacheKey and also the unit tests need to be adjusted to pass the path instead of file name.

 



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