public synchronized boolean isSuccess() {
    return state == ProcedureState.SUCCESS && !hasException();
  }
@return true if the procedure is finished successfully.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/Procedure.java