You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Xiao Liu (Jira)" <ji...@apache.org> on 2025/11/05 08:55:00 UTC

[jira] [Created] (HBASE-29703) Remove duplicate withNextBlockOnDiskSize

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)