private DataSet getRegionInfoList(final ConfigPhysicalPlan req) {
    final GetRegionInfoListPlan getRegionInfoListPlan = (GetRegionInfoListPlan) req;
    final TShowRegionReq showRegionReq = getRegionInfoListPlan.getShowRegionReq();
    if (showRegionReq != null && showRegionReq.isSetDatabases()) {
      final List<String> databases = showRegionReq.getDatabases();
      final List<String> matchedStorageGroups =
          clusterSchemaInfo
              .getMatchedDatabaseSchemasByName(
                  databases,
                  ((GetRegionInfoListPlan) req).getShowRegionReq().isSetIsTableModel()
                      && ((GetRegionInfoListPlan) req).getShowRegionReq().isIsTableModel())
              .values()
              .stream()
              .map(TDatabaseSchema::getName)
              .collect(Collectors.toList());
      if (!matchedStorageGroups.isEmpty()) {
        showRegionReq.setDatabases(matchedStorageGroups);
      }
    }
    return partitionInfo.getRegionInfoList(getRegionInfoListPlan);
  }
Every Info class that implement SnapshotProcessor in ConfigNode should be registered in
snapshotProcessorList.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/executor/ConfigPlanExecutor.java