protected synchronized void setFailure(final String source, final Throwable cause) {
    setFailure(new ProcedureException(source, cause));
  }
@return true if the procedure is waiting for a child to finish or for an external event.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/Procedure.java