public String getRegionDatabase(TConsensusGroupId regionId) {
    return partitionInfo.getRegionDatabase(regionId);
  }
Get database for region.

@param regionId regionId
@return database name
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java