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)