Duo Zhang created HBASE-30240:
---------------------------------
Summary: TestPrefetchPersistence fails because of a file is not
fully cached
Key: HBASE-30240
URL: https://issues.apache.org/jira/browse/HBASE-30240
Project: HBase
Issue Type: Sub-task
Reporter: Duo Zhang
Attachments: out
{noformat}
2026-06-20T23:44:49,592 DEBUG [hfile-prefetch-1781970289521]
bucket.BucketCache(2445): Prefetch executor completed for
/home/zhangduo/hbase/code/hbase-server/target/test-data/93a585a9-e5a9-d554-3df6-1ac14eabc2ff/TestPrefetch0/6de8b2415ccc430db423ae697b3727bf,
but only 53 data blocks were cached. Total data blocks for file: 55. Checking
for blocks pending cache in cache writer queue.
2026-06-20T23:44:49,592 INFO [hfile-prefetch-1781970289521]
bucket.BucketCache(2460): The total block count was 56. We found only 53 data
blocks cached from a total of 55 data blocks for file
/home/zhangduo/hbase/code/hbase-server/target/test-data/93a585a9-e5a9-d554-3df6-1ac14eabc2ff/TestPrefetch0/6de8b2415ccc430db423ae697b3727bf,
but no blocks pending caching. Maybe cache is full or evictions happened
concurrently to cache prefetch.
2026-06-20T23:44:49,593 DEBUG [hfile-prefetch-1781970289521]
hfile.PrefetchExecutor(121): Prefetch completed for
6de8b2415ccc430db423ae697b3727bf
{noformat}
Found this in the test output, this means the file is not fully cached, we
missed some data block in BucketCache, which fails the test.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)