You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/08/22 07:59:00 UTC

[jira] [Commented] (HBASE-21095) The timeout retry logic for several procedures are broken after master restarts

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

Duo Zhang commented on HBASE-21095:
-----------------------------------

[~stack] Upload a patch for branch-2.0. Just modify the UT to reproduce the problem...

I will try to fix it based on HBASE-20881 first, but I think we should also fix it on branch-2.0 and branch-2.1.

> The timeout retry logic for several procedures are broken after master restarts
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-21095
>                 URL: https://issues.apache.org/jira/browse/HBASE-21095
>             Project: HBase
>          Issue Type: Bug
>          Components: amv2, proc-v2
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Critical
>             Fix For: 3.0.0, 2.0.2, 2.2.0, 2.1.1
>
>         Attachments: HBASE-21095-branch-2.0.patch
>
>
> For TRSP, and also RTP in branch-2.0 and branch-2.1, if we fail to assign or unassign a region, we will set the procedure to WAITING_TIMEOUT state, and rely on the ProcedureEvent in RegionStateNode to wake us up later. But after restarting, we do not suspend the ProcedureEvent in RSN, and also do not add the procedure to the ProcedureEvent's suspending queue, so we will hang there forever as no one will wake us up.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)