hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaPing Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the HBase LruBlockCache
Date Thu, 30 Jun 2016 18:22:10 GMT
ChiaPing Tsai created HBASE-16157:
-------------------------------------

             Summary: The incorrect block cache count and size are caused by removing duplicate
block key in the HBase LruBlockCache
                 Key: HBASE-16157
                 URL: https://issues.apache.org/jira/browse/HBASE-16157
             Project: HBase
          Issue Type: Bug
            Reporter: ChiaPing Tsai
            Priority: Trivial


{code:title=LruBlockCache.java|borderStyle=solid}
// Check return value from the Map#remove before updating the metrics
  protected long evictBlock(LruCachedBlock block, boolean evictedByEvictionProcess) {
    map.remove(block.getCacheKey());
    updateSizeMetrics(block, true);
...
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message