@Override
  public TSStatus createTable(final ByteBuffer tableInfo) {
    final TSStatus status = confirmLeader();
    if (status.getCode() == TSStatusCode.SUCCESS_STATUS.getStatusCode()) {
      final Pair<String, TsTable> pair =
          TsTableInternalRPCUtil.deserializeSingleTsTableWithDatabase(tableInfo.array());
      return procedureManager.createTable(pair.left, pair.right);
    } else {
      return status;
    }
  }
Get all related dataRegion which may contains the data of specific timeseries matched by given
patternTree
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java