[ 
https://issues.apache.org/jira/browse/HBASE-29703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wellington Chevreuil resolved HBASE-29703.
------------------------------------------
    Resolution: Fixed

Merged into master, branch-3, branch-2 and branch-2.6. Thanks for the fix, 
[~liuxiaocs]!

> 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, 2.7.0, 2.6.4
>            Reporter: Xiao Liu
>            Assignee: Xiao Liu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.7.0, 3.0.0-beta-2, 2.6.5
>
>
> In the {{BlockCacheUtil.getBlockForCaching}} method, 
> {{withNextBlockOnDiskSize}} is set twice, {{withNextBlockOnDiskSize(-1)}} and 
> {{withNextBlockOnDiskSize(block.getNextBlockOnDiskSize())}}, and the first -1 
> could be removed.



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

Reply via email to