Duo Zhang created HBASE-21226: --------------------------------- Summary: Revisit the close region related code at RS side Key: HBASE-21226 URL: https://issues.apache.org/jira/browse/HBASE-21226 Project: HBase Issue Type: Sub-task Reporter: Duo Zhang
We use the closeRegion method to close a region and it will schedule a CloseRegionHandler(before HBASE-21217). The problem here is that, the CloseRegionHandler and closeRegion method are mainly designed to be called by master, but in fact, when shutting down RS, we will also call the closeRegion method to close all the regions on the RS. In HBASE-21217, we change to use UnassignRegionHandler to close a region if the request is from master, so here we need to consider the close region request when shutting down RS. -- This message was sent by Atlassian JIRA (v7.6.3#76005)