[ 
https://issues.apache.org/jira/browse/HBASE-18984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211714#comment-16211714
 ] 

Yi Liang commented on HBASE-18984:
----------------------------------

{quote} 2. UnAssignProcedure run first, this region will be assigned as OPEN. 
=> wrong {quote}
Just check the code, above situation could happen, because 
HMaster#startProcedureExecutor runs before AssignmentManager#joinCluster(),. 

in startProcedureExecutor, it will start procedureExector and procedureStore, 
and also start to do the actual load of old procedures.
in joinCluster, hbase will do read meta and do  bulk assign regions.  

I think we can start load of old procedures later until at least meta 
recovered. or even after all user regions loaded(so above situation would not 
happen). What do you think.
[~stack] [~ram_krish]



> [AMv2] Retain assignment does not work well in AMv2
> ---------------------------------------------------
>
>                 Key: HBASE-18984
>                 URL: https://issues.apache.org/jira/browse/HBASE-18984
>             Project: HBase
>          Issue Type: Bug
>          Components: proc-v2
>    Affects Versions: 2.0.0
>            Reporter: Yi Liang
>            Assignee: Yi Liang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18984-V1-master.patch, Screen Shot 2017-10-10 at 
> 2.24.19 PM.png
>
>
> work on 8.17 Retain assignment in 
> https://docs.google.com/document/d/1eVKa7FHdeoJ1-9o8yZcOTAQbv0u0bblBlCCzVSIn69g/edit#heading=h.epjn9nege80k
> To reproduce this error, in hbase shell:
> createTable t1 --> list_regions 't1' --> disable 't1' ---> enable 't1' --> 
> list_reigons 't1' (maybe you need to try enable/disable multiple times)
> See attached images. same region assigned to different region servers



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to