hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-24881) Fix flaky TestMasterAbortAndRSGotKilled for branch-2.2
Date Wed, 26 Aug 2020 07:57:00 GMT

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

Guanghao Zhang resolved HBASE-24881.
------------------------------------
    Fix Version/s: 2.2.6
       Resolution: Fixed

> Fix flaky TestMasterAbortAndRSGotKilled for branch-2.2
> ------------------------------------------------------
>
>                 Key: HBASE-24881
>                 URL: https://issues.apache.org/jira/browse/HBASE-24881
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Major
>             Fix For: 2.2.6
>
>
> I meet this problem on branch-2.2 too. This case happened because the DelayCloseCP.
The event execute order is:
>  # Close regiong. But because the DelayCloseCP, it will close after 10 seconds.
>  # Finish ut and shutdown cluster.
>  # Shutdown master.
>  # Shutdown RS. Call waitOnAllRegionsToClose method. But abortRequested is false now.
>  # Close region and failed because master is down and report master error. Then abort
RegionServer and set abortRequested to ture.
>  # waitOnAllRegionsToClose hanged because the online regions cannot be empty.
>  
> waitOnAllRegionsToClose(final boolean abort) already consider the abort case but the
problem is abortRequested is false when call this method. I thought the fix should be that
keep to check the abortRequested in waitOnAllRegionsToClose method internal.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message