[ 
https://issues.apache.org/jira/browse/HBASE-9184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Xiang updated HBASE-9184:
-------------------------------

    Fix Version/s: 0.95.2
                   0.98.0
           Status: Patch Available  (was: Open)

Attached a patch that log a warning and skip an assignment zk event when it is 
received but the region is not in transition.  Either master is in failover 
mode or normal operation, such event is not expected.
                
> Ignore zk assign event if region is not known in transition
> -----------------------------------------------------------
>
>                 Key: HBASE-9184
>                 URL: https://issues.apache.org/jira/browse/HBASE-9184
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: trunk-9184.patch
>
>
> This is a follow up of HBASE-9161.  Currently, if a region is in transition, 
> we ignore any unexpected zk assign event and log a warning. For example, a zk 
> closing event will be ignored if the region is pending open actually.  
> However, if the region is not in transition, we will accept such events.  For 
> events not related to split/merge, we should ignore them and log a warning 
> too, to tighten up the region state transition.  During normal operation, 
> this (ensuring region is in transition before accepting transition related 
> events) is fine.  During master failover, this is fine as long as we don't do 
> region transition bypass ZK.  We should also make sure to watch assignment 
> znodes after user region states are recovered, so that we don't log many such 
> warnings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to