public synchronized int getReplicaId() {
    return metaEntry != null ? metaEntry.hri.getReplicaId() : deployedReplicaId;
  }
Maintain information about a particular region. It gathers information from three places -- HDFS,
META, and region servers.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HbckRegionInfo.java