You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiao Liu (Jira)" <ji...@apache.org> on 2026/10/21 04:50:00 UTC

[jira] [Created] (HBASE-30488) BucketCache persistence loses the archived flag of BlockCacheKey

Xiao Liu created HBASE-30488:
--------------------------------

             Summary: 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: 2.6.7, 2.6.6, 2.6.5, 3.0.0
            Reporter: Xiao Liu
            Assignee: Xiao Liu
             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)