public Map<Integer, Map<Integer, Long>> getRegionSizeMap() {
    return regionSizeMap;
  }
Wait for the specified RegionGroups to finish leader election.

@param regionGroupIds Specified RegionGroupIds
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/LoadCache.java