public Map<String, SchemaPartitionTable> allocateSchemaPartition(
      final Map<String, List<TSeriesPartitionSlot>> unassignedSchemaPartitionSlotsMap)
      throws NoAvailableRegionGroupException {
    return partitionBalancer.allocateSchemaPartition(unassignedSchemaPartitionSlotsMap);
  }
Allocate SchemaPartitions.

@param unassignedSchemaPartitionSlotsMap SchemaPartitionSlots that should be assigned
@return Map<DatabaseName, SchemaPartitionTable>, the allocating result
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java