[
https://issues.apache.org/jira/browse/HBASE-28211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil updated HBASE-28211:
-----------------------------------------
Affects Version/s: 2.5.6
2.4.17
3.0.0-alpha-4
2.6.0
4.0.0-alpha-1
> BucketCache.blocksByHFile may leak on allocationFailure or if we reach io
> errors tolerated
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-28211
> URL: https://issues.apache.org/jira/browse/HBASE-28211
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.6.0, 3.0.0-alpha-4, 2.4.17, 2.5.6, 4.0.0-alpha-1
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Major
>
> We add blocks to BucketCache.blocksByHFile on doDrain before we actually had
> successfully added the block to the cache. We may still fail to cache the
> block if it is too big to fit any of the configured bucket sizes, or if we
> fail to write it in the ioengine and reach the tolerated io errors threshold.
> In such cases, the related block would remain in the
> BucketCache.blocksByHFile indefinitely.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)