Skip to content
Permalink
Browse files
HBASE-24688 AssignRegionHandler uses EventType.M_RS_CLOSE_META instea…
…d of EventType.M_RS_OPEN_META for meta region (#2029)

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
  • Loading branch information
huaxiangsun committed Jul 7, 2020
1 parent 34e807a commit 90f4ff7d7c6997f61dbe40748b5c157879352acb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -168,7 +168,7 @@ public static AssignRegionHandler create(HRegionServer server, RegionInfo region
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;

0 comments on commit 90f4ff7

Please sign in to comment.