Wellington Chevreuil created HBASE-29243:
--------------------------------------------

             Summary: Fix BucketCache.notifyFileCachingComplete to also account 
for ENCODED_DATA block type
                 Key: HBASE-29243
                 URL: https://issues.apache.org/jira/browse/HBASE-29243
             Project: HBase
          Issue Type: Bug
            Reporter: Wellington Chevreuil
            Assignee: Wellington Chevreuil


Currently, in BucketCache.notifyFileCachingComplete, we only account for blocks 
of DATA type. However, if any encoding, such as FASTDIFF is in use, the data 
block type is ENCODED_DATA and we miss to account it. This later impacts the 
cache aware balancer when we recover the persistent cache after a 
crash/restart, as we fail to compute region % cache since we haven't considered 
any file as fully cached.



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

Reply via email to