HBASE-16507 Procedure v2 - Force DDL operation to always roll forward (addendum)
This commit is contained in:
parent
4faa8ea934
commit
9c58d26d3b
|
@ -105,8 +105,9 @@ public abstract class StateMachineProcedure<TEnvironment, TState>
|
||||||
protected void setNextState(final TState state) {
|
protected void setNextState(final TState state) {
|
||||||
if (aborted.get() && isRollbackSupported(getCurrentState())) {
|
if (aborted.get() && isRollbackSupported(getCurrentState())) {
|
||||||
setAbortFailure(getClass().getSimpleName(), "abort requested");
|
setAbortFailure(getClass().getSimpleName(), "abort requested");
|
||||||
|
} else {
|
||||||
|
setNextState(getStateId(state));
|
||||||
}
|
}
|
||||||
setNextState(getStateId(state));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue