@Override
  public void addFront(final Procedure procedure) {
    if (procedure.isSuccess()) {
      LOG.warn("Don't add a successful procedure back to the scheduler, it will be ignored");
      return;
    }
    push(procedure, true, true);
  }
Add the procedure to the queue. NOTE: this method is called with the sched lock held.

@param procedure the Procedure to add
@param addFront true if the item should be added to the front of the queue
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/scheduler/AbstractProcedureScheduler.java