Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Delivered
-
None
-
None
Description
Currently, we maintain a list of Hfiles on disk for which prefetch is complete and avoid prefetching those files after a restart. But we don't handle cases where blocks are evicted from the cache or when the region is moved and the blocks from that region are evicted (or not evicted). The Hfile is kept in the prefetch list forever and over time the prefetch list would have all the files of the cluster and the prefetch would never be executed. This change aims to update the prefetched list of HFiles upon block eviction.
Attachments
Issue Links
- is related to
-
HBASE-28450 BuckeCache.evictBlocksByHfileName won't work after a cache recovery from file
- Resolved
- relates to
-
HBASE-28458 BucketCache.notifyFileCachingCompleted may incorrectly consider a file fully cached
- Resolved
-
HBASE-27313 Persist list of Hfiles names for which prefetch is done
- Resolved
-
HBASE-27686 Recovery of BucketCache and Prefetched data after RS Crash
- Resolved