HBASE-21025 Addendum missed a 'succ = true'

Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
Duo Zhang 2018-08-13 10:50:45 +08:00
parent 2d12e1ecf0
commit 846078f9b0
1 changed files with 1 additions and 0 deletions

View File

@ -233,6 +233,7 @@ public class TableStateManager {
try {
MetaTableAccessor.updateTableState(master.getConnection(), tableName, newState);
tableName2State.put(tableName, newState);
succ = true;
} finally {
if (!succ) {
tableName2State.remove(tableName);