[
https://issues.apache.org/jira/browse/HBASE-20881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778904#comment-17778904
]
Duo Zhang commented on HBASE-20881:
-----------------------------------
{quote}
SCP cannot be certain what step of the previous TRSP, the region was stuck in
while it was in RIT.
{quote}
Could you please provide an example about this? I do not get the point, if
there is a SCP for the server, and it executes normally, the related TRSP
should be finished normally too. And SCP will not create new TRSPs, it just
reuse the current TRSP, as a TRSP can not fail, unless you use hbck to bypass
it.
So I guess the problem here is still about strange RS behaviors, i.e, the RS is
in the live server list, but you can not assign a region to it, and finally
cause the TRSP hangs there forever.
Thanks.
> Introduce a region transition procedure to handle all the state transition
> for a region
> ---------------------------------------------------------------------------------------
>
> Key: HBASE-20881
> URL: https://issues.apache.org/jira/browse/HBASE-20881
> Project: HBase
> Issue Type: Sub-task
> Components: amv2, proc-v2
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.2.0
>
> Attachments: HBASE-20881-branch-2-v1.patch,
> HBASE-20881-branch-2-v2.patch, HBASE-20881-branch-2.patch,
> HBASE-20881-v1.patch, HBASE-20881-v10.patch, HBASE-20881-v11.patch,
> HBASE-20881-v12.patch, HBASE-20881-v13.patch, HBASE-20881-v13.patch,
> HBASE-20881-v14.patch, HBASE-20881-v14.patch, HBASE-20881-v15.patch,
> HBASE-20881-v16.patch, HBASE-20881-v2.patch, HBASE-20881-v3.patch,
> HBASE-20881-v4.patch, HBASE-20881-v4.patch, HBASE-20881-v5.patch,
> HBASE-20881-v6.patch, HBASE-20881-v7.patch, HBASE-20881-v7.patch,
> HBASE-20881-v8.patch, HBASE-20881-v9.patch, HBASE-20881.patch
>
>
> Now have an AssignProcedure, an UnssignProcedure, and also a
> MoveRegionProcedure which schedules an AssignProcedure and an
> UnssignProcedure to move a region. This makes the logic a bit complicated, as
> MRP is not a RIT, so when SCP can not interrupt it directly...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)