diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java index 7eb6465ed44..10467fe00a4 100644 --- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java +++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java @@ -105,8 +105,9 @@ public abstract class StateMachineProcedure protected void setNextState(final TState state) { if (aborted.get() && isRollbackSupported(getCurrentState())) { setAbortFailure(getClass().getSimpleName(), "abort requested"); + } else { + setNextState(getStateId(state)); } - setNextState(getStateId(state)); } /**