HBASE-21025 Addendum missed a 'succ = true'
Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
parent
2d12e1ecf0
commit
846078f9b0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue