You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chenglei (Jira)" <ji...@apache.org> on 2023/06/28 07:21:00 UTC

[jira] [Assigned] (HBASE-27954) Eliminate duplicate code for getNonRootIndexedKey in HFileBlockIndex

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

chenglei reassigned HBASE-27954:
--------------------------------

    Assignee: chenglei

> Eliminate duplicate code for  getNonRootIndexedKey in HFileBlockIndex
> ---------------------------------------------------------------------
>
>                 Key: HBASE-27954
>                 URL: https://issues.apache.org/jira/browse/HBASE-27954
>             Project: HBase
>          Issue Type: Improvement
>          Components: HFile
>    Affects Versions: 3.0.0-alpha-4, 4.0.0-alpha-1
>            Reporter: chenglei
>            Assignee: chenglei
>            Priority: Major
>
> The code to get the {{midkey}} in {{midLeafBlock}} in  {{HFileBlockIndex.CellBasedKeyBlockIndexReader.midkey}} method is almost the same as  {{HFileBlockIndex.BlockIndexReader.getNonRootIndexedKey}}, the code is somewhat complicated, we could use the {{HFileBlockIndex.BlockIndexReader.getNonRootIndexedKey}} directly in  {{HFileBlockIndex.CellBasedKeyBlockIndexReader.midkey}}.



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