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/07/03 14:04:00 UTC
[jira] [Updated] (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 updated HBASE-27954:
-----------------------------
Fix Version/s: 2.6.0
3.0.0-beta-1
> 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
> Fix For: 2.6.0, 3.0.0-beta-1
>
>
> The code to get the {{midkey}} by {{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)