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 067fbaa5b5
commit 911a6ef412
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);