public static void addRegionsToMeta(Connection connection, List<RegionInfo> regionInfos,
    int regionReplication) throws IOException {
    addRegionsToMeta(connection, regionInfos, regionReplication,
      EnvironmentEdgeManager.currentTime());
  }
Adds a hbase:meta row for each of the specified new regions. Initial state for new regions is
CLOSED.
@param connection  connection we're using
@param regionInfos region information list
@throws IOException if problem connecting or updating meta
hbase-server/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java