Wellington Chevreuil created HBASE-28211:
--------------------------------------------
Summary: 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
Reporter: Wellington Chevreuil
Assignee: Wellington Chevreuil
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)