protected synchronized void setState(final ProcedureState state) {
    this.state = state;
    updateTimestamp();
  }
@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