@Override
  public int compareTo(final RegionStateNode other) {
    // NOTE: RegionInfo sort by table first, so we are relying on that.
    // we have a TestRegionState#testOrderedByTable() that check for that.
    return RegionInfo.COMPARATOR.compare(getRegionInfo(), other.getRegionInfo());
  }
Return whether the region has been split and not online.
<p/>
In this method we will test both region info and state, and will return true if either of the
test returns true. Please see the comments in
{@link AssignmentManager#markRegionAsSplit(RegionInfo, ServerName, RegionInfo, RegionInfo)} for
more details on why we need to test two conditions.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateNode.java