protected synchronized long[] getSubprocedureIds() {
    if (subprocs == null) {
      return new long[0];
    }
    return subprocs.stream().mapToLong(Procedure::getProcId).toArray();
  }
Called by the {@link ProcedureExecutor} to mark rollback execution.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/RootProcedureStack.java