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 {
|
try {
|
||||||
MetaTableAccessor.updateTableState(master.getConnection(), tableName, newState);
|
MetaTableAccessor.updateTableState(master.getConnection(), tableName, newState);
|
||||||
tableName2State.put(tableName, newState);
|
tableName2State.put(tableName, newState);
|
||||||
|
succ = true;
|
||||||
} finally {
|
} finally {
|
||||||
if (!succ) {
|
if (!succ) {
|
||||||
tableName2State.remove(tableName);
|
tableName2State.remove(tableName);
|
||||||
|
|
Loading…
Reference in New Issue