Skip to content

Commit ed4b51a

Browse files
authored
HBASE-26105 Rectify the expired TODO comment in CombinedBC. (#3509)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent 5f09505 commit ed4b51a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ private boolean isMetaBlock(BlockType blockType) {
7878
@Override
7979
public Cacheable getBlock(BlockCacheKey cacheKey, boolean caching,
8080
boolean repeat, boolean updateCacheMetrics) {
81-
// TODO: is there a hole here, or just awkwardness since in the lruCache getBlock
82-
// we end up calling l2Cache.getBlock.
8381
// We are not in a position to exactly look at LRU cache or BC as BlockType may not be getting
8482
// passed always.
8583
boolean existInL1 = l1Cache.containsBlock(cacheKey);

0 commit comments

Comments
 (0)