HBASE-21271 [amv2] Don't throw UnsupportedOperationException when rollback called on Assign/Unassign; spiral of death
This commit is contained in:
parent
9a3b7f16f9
commit
c96ecbde67
|
@ -424,9 +424,9 @@ public abstract class RegionTransitionProcedure
|
||||||
|
|
||||||
// There is no rollback for assignment unless we cancel the operation by
|
// There is no rollback for assignment unless we cancel the operation by
|
||||||
// dropping/disabling the table.
|
// dropping/disabling the table.
|
||||||
throw new UnsupportedOperationException("Unhandled state " + transitionState +
|
LOG.warn("Unhandled state {}; no rollback for assignment! Doing NOTHING!" +
|
||||||
"; there is no rollback for assignment unless we cancel the operation by " +
|
" May need manual intervention. TODO: IS THIS WORKING? {}",
|
||||||
"dropping/disabling the table");
|
transitionState, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected abstract boolean isRollbackSupported(final RegionTransitionState state);
|
protected abstract boolean isRollbackSupported(final RegionTransitionState state);
|
||||||
|
|
Loading…
Reference in New Issue