public synchronized boolean isFinished() {
    return isSuccess() || state == ProcedureState.ROLLEDBACK;
  }
@return true if the procedure is finished. The Procedure may be completed successfully or
    rolledback.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/Procedure.java