[
https://issues.apache.org/jira/browse/HBASE-18984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213443#comment-16213443
]
Yi Liang commented on HBASE-18984:
----------------------------------
It seems above two comments does not clearly state why {quote}// 2.
UnAssignProcedure can run first, this region will be assigned as OPEN
finally.{quote} would happen.
For example, during master unassign region A, and then master crashed, and
also the RS has region A crashed. So when master restart, it may reload region
A's state as OPEN, and since RS crashed, this Master will create a
ServerCrashProcedure for that RS, so there will be both assign(created by SCP)
and unassign (old procedure) for region A. And it is really hard to guarantee
which one run first(not so sure).
> [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)