From da67491a56ceb663c9f435364f9a87c6326eacb1 Mon Sep 17 00:00:00 2001 From: huaxiangsun Date: Sun, 5 Apr 2020 13:20:23 -0700 Subject: [PATCH] HBASE-24105 [Flakey Test] regionserver.TestRegionReplicas (#1425) Co-authored-by: Huaxiang Sun Signed-off-by: stack --- .../hadoop/hbase/regionserver/handler/CloseRegionHandler.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.java index 6f430429635..2b84dfdfe3e 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.java @@ -117,9 +117,7 @@ public class CloseRegionHandler extends EventHandler { HConstants.NO_SEQNUM, Procedure.NO_PROC_ID, -1, regionInfo)); // Done! Region is closed on this RS - this.rsServices.getRegionsInTransitionInRS(). - remove(this.regionInfo.getEncodedNameAsBytes(), Boolean.FALSE); - LOG.debug("Closed {}" + region.getRegionInfo().getRegionNameAsString()); + LOG.debug("Closed {}", region.getRegionInfo().getRegionNameAsString()); } finally { // Clear any reference in getServer().getRegionsInTransitionInRS() on success or failure, // since a reference was added before this CRH was invoked. If we don't clear it, it can