public TSStatus createTableView(
      final String database, final TsTable table, final boolean replace) {
    return executeWithoutDuplicate(
        database,
        table,
        table.getTableName(),
        null,
        ProcedureType.CREATE_TABLE_VIEW_PROCEDURE,
        new CreateTableViewProcedure(database, table, replace, false));
  }
Waiting until the specific procedure finished.

@param procedure The specific procedure
@return TSStatus the running result of this procedure
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java