[
https://issues.apache.org/jira/browse/HBASE-29703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HBASE-29703:
-----------------------------------
Labels: pull-request-available (was: )
> Remove duplicate calls to 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)