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


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java:
##########
@@ -560,6 +564,21 @@ protected void cacheBlockWithWaitInternal(BlockCacheKey 
cacheKey, Cacheable cach
     }
   }
 
+  public BucketEntry getBlockForReference(BlockCacheKey key) {

Review Comment:
   Thanks, I have added javadoc comments now. This method "resolves" the 
reference to the referred file and looks for a block from the referred file in 
the cache. The idea is to allow references to "reuse" the blocks from the 
referred files if those are already in the cache.



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