[
https://issues.apache.org/jira/browse/HBASE-29243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil resolved HBASE-29243.
------------------------------------------
Resolution: Fixed
Merged into master, branch-3, branch-2 and branch-2.6. Thanks for reviewing it,
[~psomogyi] !
> 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
> Affects Versions: 3.0.0-beta-1, 4.0.0-alpha-1, 2.7.0, 2.6.2
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0, 4.0.0-alpha-1, 2.7.0, 2.6.3
>
>
> 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)