@Override
    boolean regionFilter(RegionInfo info) {
      return !Objects.equals(TableName.META_TABLE_NAME, info.getTable())
        && !Objects.equals(RegionInfo.DEFAULT_REPLICA_ID, info.getReplicaId());
    }
Selects a non-meta region that is also a replica region.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestHBCKSCP.java