HBASE-25364 Redo the getMidPoint() in HFileWriterImpl to get rid of the double compar...
commit3e743df6d06d3e1835963f4f4bea0f478f8c931e
authorGeorryHuang <215175212@qq.com>
Wed, 10 Feb 2021 16:31:07 +0000 (11 00:31 +0800)
committerGitHub <noreply@github.com>
Wed, 10 Feb 2021 16:31:07 +0000 (10 08:31 -0800)
treeb0978b9b788b9cacf7b6a74b96eb67575643c546
parent25e3633e6277ea72357078c21fa0aa31f857ded3
HBASE-25364 Redo the getMidPoint() in HFileWriterImpl to get rid of the double comparison process (#2741)

Signed-off-by: niuyulin <nyl353@163.com>
Signed-off-by: stack <stack@apache.org>
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileWriterImpl.java
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFile.java