[
https://issues.apache.org/jira/browse/HBASE-26295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422520#comment-17422520
]
chenglei commented on HBASE-26295:
----------------------------------
[~zhangduo],thank you very much for code review.
> BucketCache could not free BucketEntry which restored from persistence file
> ---------------------------------------------------------------------------
>
> Key: HBASE-26295
> URL: https://issues.apache.org/jira/browse/HBASE-26295
> Project: HBase
> Issue Type: Bug
> Components: BucketCache
> Affects Versions: 3.0.0-alpha-1, 2.4.6
> Reporter: chenglei
> Assignee: chenglei
> Priority: Major
> Fix For: 2.5.0, 3.0.0-alpha-2, 2.3.7, 2.4.7
>
>
> HBASE-21957 reserved a {{BucketEntry}} ctor which has no {{RefCnt#recycler}},
> and when {{BucketCache}} is restored from a persistence file, it use this
> {{BucketEntry}} ctor.
> But from HBASE-21957, {{BucketEntry}} is freed through {{RefCnt#recycler}} ,
> so this no {{RefCnt#recycler}} {{BucketEntry}} could not be freed even if
> corresponding {{HFileBlock}} is evicted from {{BucketCache}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)