HBASE-13029 Table state should be deleted from META as a last operation in DeleteTableHandler (Andrey Stepachev)

This commit is contained in:
tedyu 2015-02-12 14:02:54 -08:00
parent fc2e849cd3
commit e0160d6937
1 changed files with 5 additions and 4 deletions

View File

@ -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();
}
/**