public Map<TConsensusGroupId, TRegionReplicaSet> getRelatedSchemaRegionGroup4TableModel(
      final String database) {
    return getRelatedSchemaRegionGroup(
        getSchemaPartition(Collections.singletonMap(database, Collections.emptyList()))
            .getSchemaPartitionTable());
  }
Get all related schemaRegion which may contains the timeseries matched by given patternTree.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java