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

Bo Cui commented on HBASE-24924:
--------------------------------

thx [~zhangduo]  my question and the PR have a little different

in normal scenario:
1、first startup, hbase will create IniMetaProcedure
2、next startup, if znode doest not exist, hbase will recreate new 
IniMetaProcedure

my question:
if procWAL has completed IniMetaProcedure and znode doest not exist, hbase 
should startup like 2, hbase should not stuck

 

> stuck InitMetaProcedure in finishActiveMasterInitialization
> -----------------------------------------------------------
>
>                 Key: HBASE-24924
>                 URL: https://issues.apache.org/jira/browse/HBASE-24924
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 3.0.0-alpha-1, 2.2.3
>            Reporter: Bo Cui
>            Assignee: Bo Cui
>            Priority: Major
>         Attachments: image-2020-08-21-09-12-33-894.png, masterLog.gif
>
>
> if procWAL has InitMetaProcedure, and InitMetaProcedure state is finished, 
> and meta znode does not exist, finishActiveMasterInitialization will stuck
> because during startup,If InitMetaProcedure exists, InitMetaProcedure 
> recreates a new CountDownLatch.
> master jstack
>  !image-2020-08-21-09-12-33-894.png!
> master log 
>  !masterLog.gif!



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

Reply via email to