Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-4, 4.0.0-alpha-1
-
None
Description
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.