[
https://issues.apache.org/jira/browse/HBASE-24924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181675#comment-17181675
]
Duo Zhang commented on HBASE-24924:
-----------------------------------
{quote}
if znode does not exist, how assign meta?
{quote}
The first point is, why the meta znode is gone?
And second, there is no simple way to assign meta here. You do not know where
meta is onlined. If it is onlined on a region server, you could just write the
correct meta znode to zookeeper, and do not need any actual assign operation.
If meta is not online, you should find out the dead region server it is on, and
write the meta znode, and also schedule a SCP to assign the meta region.
Anyway, this is not a normal operation, we should deal with this through HBCK2,
not in the normal code path.
> 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)