[ 
https://issues.apache.org/jira/browse/HBASE-26295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenglei updated HBASE-26295:
-----------------------------
    Description: 
HBASE-21957 reserved a {{BucketEntry}} ctor which has no {{RefCnt#recycler}}, 
and when {{BucketCache}} restores from a persistence file, it use this 
{{BucketEntry}} ctor. 
After HBASE-21957, {{BucketEntry}} is freed through {{RefCnt#recycler}} , so 
this no  {{RefCnt#recycler}}  {{BucketEntry}} could not freed even if 
corresponding  {{HFileBlock}} is evicted from {{BucketCache}}

  was:
HBASE-21957 reserved a {{BucketEntry}} ctor which has no {{RefCnt#recycler}}, 
and when {{BucketCache}} restores from a persistence file, it use this 
{{BucketEntry}} ctor. After 
HBASE-21957, {{BucketEntry}} is freed through {{RefCnt#recycler}} , so this no  
{{RefCnt#recycler}}  {{BucketEntry}} could not freed even if corresponding  
{{HFileBlock}} is evicted from {{BucketCache}}


> 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
>            Priority: Major
>
> HBASE-21957 reserved a {{BucketEntry}} ctor which has no {{RefCnt#recycler}}, 
> and when {{BucketCache}} restores from a persistence file, it use this 
> {{BucketEntry}} ctor. 
> After HBASE-21957, {{BucketEntry}} is freed through {{RefCnt#recycler}} , so 
> this no  {{RefCnt#recycler}}  {{BucketEntry}} could not freed even if 
> corresponding  {{HFileBlock}} is evicted from {{BucketCache}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to