wchevreuil commented on code in PR #7192: URL: https://github.com/apache/hbase/pull/7192#discussion_r2300457733
########## hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java: ########## @@ -1378,7 +1379,8 @@ public HFileBlock readBlock(long dataBlockOffset, long onDiskBlockSize, final bo } BlockType.BlockCategory category = hfileBlock.getBlockType().getCategory(); final boolean cacheCompressed = cacheConf.shouldCacheCompressed(category); - final boolean cacheOnRead = cacheConf.shouldCacheBlockOnRead(category); + final boolean cacheOnRead = Review Comment: >this part is different from #5905 , where cacheOnRead has been defined but it does not use in line#1391 and line#1405, is it expected? Sorry, ain't following you. This seems same code we added in [PR 5905, line #1351 of HFileReaderImpl.]([HFileReaderImpl.java](https://github.com/apache/hbase/pull/5905/files#diff-c910a49e7d962e49b199d22f38e1cd78d867351208b86bffdd56ffb9aa1aa596)) -- 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: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org