public long getAssignedTimePartitionSlotsCount(String database) {
    return partitionInfo.getAssignedTimePartitionSlotsCount(database);
  }
Only leader use this interface.

<p>Get the assigned TimePartitionSlots count in the specified Database

@param database The specified Database
@return The assigned TimePartitionSlots count
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java