public TConsensusGroupId getRegionGroupIdOrActivateIfNecessary(
      TSeriesPartitionSlot seriesPartitionSlot) {
    if (dataAllotMap.containsKey(seriesPartitionSlot)) {
      return dataAllotMap.get(seriesPartitionSlot);
    }

    TConsensusGroupId regionGroupId = seriesPartitionSlotCounter.getKeyWithMinValue();
    dataAllotMap.put(seriesPartitionSlot, regionGroupId);
    seriesPartitionSlotCounter.put(
        regionGroupId, seriesPartitionSlotCounter.get(regionGroupId) + 1);
    LOGGER.info(
        "[ActivateDataAllotTable] Activate SeriesPartitionSlot {} "
            + "to RegionGroup {}, SeriesPartitionSlot Count: {}",
        seriesPartitionSlot,
        regionGroupId,
        seriesPartitionSlotCounter.get(regionGroupId));
    return regionGroupId;
  }
Get or activate the specified SeriesPartitionSlot in dataAllotMap.

@param seriesPartitionSlot The specified SeriesPartitionSlot
@return The RegionGroupId of the specified SeriesPartitionSlot, activate when its empty yet
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/balancer/partition/DataPartitionPolicyTable.java