From 911a6ef4123f0e2118a5853890d4514007306047 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Mon, 13 Aug 2018 10:50:45 +0800 Subject: [PATCH] HBASE-21025 Addendum missed a 'succ = true' Signed-off-by: Guanghao Zhang --- .../java/org/apache/hadoop/hbase/master/TableStateManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java index ecd4a7dc41e..6e3461873ea 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java @@ -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);