Xiao Liu created HBASE-29703:
--------------------------------

             Summary: Remove duplicate withNextBlockOnDiskSize
                 Key: HBASE-29703
                 URL: https://issues.apache.org/jira/browse/HBASE-29703
             Project: HBase
          Issue Type: Improvement
          Components: BucketCache
    Affects Versions: 3.0.0-beta-1
            Reporter: Xiao Liu


In the BlockCacheUtil.getBlockForCaching method, withNextBlockOnDiskSize is set 
twice (withNextBlockOnDiskSize(-1) and 
withNextBlockOnDiskSize(block.getNextBlockOnDiskSize())), and the first -1 
could be deleted



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to