From 90f4ff7d7c6997f61dbe40748b5c157879352acb Mon Sep 17 00:00:00 2001 From: huaxiangsun Date: Tue, 7 Jul 2020 09:58:25 -0700 Subject: [PATCH] HBASE-24688 AssignRegionHandler uses EventType.M_RS_CLOSE_META instead of EventType.M_RS_OPEN_META for meta region (#2029) Signed-off-by: stack Signed-off-by: Viraj Jasani --- .../hadoop/hbase/regionserver/handler/AssignRegionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.java index 3474bf916be..737f1653bc9 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.java @@ -168,7 +168,7 @@ public class AssignRegionHandler extends EventHandler { long openProcId, TableDescriptor tableDesc, long masterSystemTime) { EventType eventType; if (regionInfo.isMetaRegion()) { - eventType = EventType.M_RS_CLOSE_META; + eventType = EventType.M_RS_OPEN_META; } else if (regionInfo.getTable().isSystemTable() || (tableDesc != null && tableDesc.getPriority() >= HConstants.ADMIN_QOS)) { eventType = EventType.M_RS_OPEN_PRIORITY_REGION;