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