[
https://issues.apache.org/jira/browse/HBASE-5396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207860#comment-13207860
]
Zhihong Yu commented on HBASE-5396:
-----------------------------------
{code}
+ && regionPlanOnThisServer != null
+ && !regionPlanOnThisServer.contains(rit.getRegion())) {
{code}
Did you mean this ?
{code}
+ && (regionsOnServer == null
+ || !regionsOnServer.contains(rit.getRegion()))) {
{code}
As I said above, if regionsOnServer was initialized to empty Set, the null
check above can be omitted.
> Handle the regions in regionPlans while processing ServerShutdownHandler
> ------------------------------------------------------------------------
>
> Key: HBASE-5396
> URL: https://issues.apache.org/jira/browse/HBASE-5396
> Project: HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 0.90.6
> Reporter: Jieshan Bean
> Assignee: Jieshan Bean
> Fix For: 0.90.7
>
> Attachments: HBASE-5396-90.patch
>
>
> The regions plan to open on this server while ServerShutdownHandler is
> handling, just be removed from AM.regionPlans, and only left to
> TimeoutMonitor handle these regions. This need to optimize.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira