HBASE-1581 Run major compaction on .META. when table is dropped or truncated

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-06-25 23:14:29 +00:00
parent 49599944be
commit 1eb46d4be7
2 changed files with 2 additions and 0 deletions

View File

@ -407,6 +407,7 @@ Release 0.20.0 - Unreleased
(Erik Holstad via Stack)
HBASE-1584 Put add methods should return this for ease of use (Be
consistant with Get) (Clint Morgan via Stack)
HBASE-1581 Run major compaction on .META. when table is dropped or truncated
OPTIMIZATIONS
HBASE-1412 Change values for delete column and column family in KeyValue

View File

@ -161,6 +161,7 @@ module HBase
raise IOError.new("Table " + tableName + " is enabled. Disable it first")
else
@admin.deleteTable(tableName)
major_compact(HConstants::META_TABLE_NAME);
end
@formatter.footer(now)
end