HBASE-26105 Rectify the expired TODO comment in CombinedBC. (#3509)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
YutSean 2021-07-30 21:34:14 +08:00 committed by GitHub
parent 5f0950558f
commit ed4b51a6b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -78,8 +78,6 @@ public class CombinedBlockCache implements ResizableBlockCache, HeapSize {
@Override
public Cacheable getBlock(BlockCacheKey cacheKey, boolean caching,
boolean repeat, boolean updateCacheMetrics) {
// TODO: is there a hole here, or just awkwardness since in the lruCache getBlock
// we end up calling l2Cache.getBlock.
// We are not in a position to exactly look at LRU cache or BC as BlockType may not be getting
// passed always.
boolean existInL1 = l1Cache.containsBlock(cacheKey);