HBASE-13029 Table state should be deleted from META as a last operation in DeleteTableHandler (Andrey Stepachev)
This commit is contained in:
parent
fc2e849cd3
commit
e0160d6937
|
@ -128,12 +128,13 @@ public class DeleteTableHandler extends TableEventHandler {
|
|||
LOG.debug("Removing '" + tableName + "' from region states.");
|
||||
am.getRegionStates().tableDeleted(tableName);
|
||||
|
||||
// 5. If entry for this table states, remove it.
|
||||
|
||||
// 5.Clean any remaining rows for this table.
|
||||
cleanAnyRemainingRows();
|
||||
|
||||
// 6. If entry for this table states, remove it.
|
||||
LOG.debug("Marking '" + tableName + "' as deleted.");
|
||||
am.getTableStateManager().setDeletedTable(tableName);
|
||||
|
||||
// 6.Clean any remaining rows for this table.
|
||||
cleanAnyRemainingRows();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue