HBASE-21025 Addendum missed a 'succ = true'
Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
parent
067fbaa5b5
commit
911a6ef412
|
@ -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