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

ASF GitHub Bot updated HBASE-30488:
-----------------------------------
    Labels: pull-request-available  (was: )

> BucketCache persistence loses the archived flag of BlockCacheKey
> ----------------------------------------------------------------
>
>                 Key: HBASE-30488
>                 URL: https://issues.apache.org/jira/browse/HBASE-30488
>             Project: HBase
>          Issue Type: Bug
>          Components: BucketCache
>    Affects Versions: 3.0.0, 2.6.5, 2.6.6, 2.6.7
>            Reporter: Xiao Liu
>            Assignee: Xiao Liu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8
>
>
> {\{BucketProtoUtils.toPB(BlockCacheKey)}} does not serialize the 
> \{{archived}} flag, although the recovery path reads it. The missing field 
> defaults to \{{false}}.
> After a RegionServer restart, archived blocks restored from the persistent 
> BucketCache are incorrectly counted toward their original region's cached 
> size.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to