private int getRegionReplication(TableDescriptor htd) {
    return htd != null ? htd.getRegionReplication() : 1;
  }
Overwrites the specified regions from hbase:meta. Deletes old rows for the given regions and
adds new ones. Regions added back have state CLOSED.
@param connection  connection we're using
@param regionInfos list of regions to be added to META
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateStore.java