public TSStatus dropTable(final TAlterOrDropTableReq req) {
    final boolean isView = req.isSetIsView() && req.isIsView();
    return executeWithoutDuplicate(
        req.database,
        null,
        req.tableName,
        req.queryId,
        isView ? ProcedureType.DROP_VIEW_PROCEDURE : ProcedureType.DROP_TABLE_PROCEDURE,
        isView
            ? new DropViewProcedure(req.database, req.tableName, req.queryId, false)
            : new DropTableProcedure(req.database, req.tableName, req.queryId, 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