HBASE-26383 HBCK incorrectly reports inconsistencies for recently split regions follo...
commit4149459ddef47b877d1c1f2aa1d4f4aebcd11ece
authorAndrew Purtell <apurtell@apache.org>
Wed, 20 Oct 2021 22:48:36 +0000 (20 15:48 -0700)
committerAndrew Purtell <apurtell@apache.org>
Wed, 20 Oct 2021 22:55:10 +0000 (20 15:55 -0700)
tree52d5367fd3cde8e0e5c1933ab70c3c9b3c371f12
parent09ffa49df8c50e8278e2bfd070b4f6723dd74f20
HBASE-26383 HBCK incorrectly reports inconsistencies for recently split regions following a master failover (#3775)

A regression was introduced by HBASE-25847 which changed regionInfo#isParentSplit
to regionState#isSplit. The region state after restart is CLOSED instead of SPLIT.
We need to check both regionState and regionInfo for split status.

Signed-off-by: Viraj Jasani <vjasani@apache.org>
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HbckChore.java