teamconfx commented on PR #7685:
URL: https://github.com/apache/hbase/pull/7685#issuecomment-3821715323

   @wchevreuil I added a UT `TestBucketCacheEmptyPersistence` that verifies 
that BucketCache recovers gracefully when the persistence file contains only 
magic bytes without actual cache data. It tests both persistence formats (PBUF 
for
     non-chunked and V2UF for chunked) by creating truncated files, then 
verifying the cache initializes successfully, has an empty backing map, and 
remains functional for caching operations.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to