wchevreuil commented on code in PR #7477:
URL: https://github.com/apache/hbase/pull/7477#discussion_r2568916507


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java:
##########
@@ -398,6 +398,9 @@ public long getCacheCompactedBlocksOnWriteThreshold() {
    * configuration.
    */
   public boolean shouldReadBlockFromCache(BlockType blockType) {
+    if (!getBlockCache().isPresent()) {

Review Comment:
   Nope, this is not needed. I had removed it now. Thanks for pointing out.



-- 
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