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

Duo Zhang commented on HBASE-20742:
-----------------------------------

There is a MasterWalManager at master side and we will use its method to get 
the live servers. I think you can do something there.

> Always create WAL directory for region server
> ---------------------------------------------
>
>                 Key: HBASE-20742
>                 URL: https://issues.apache.org/jira/browse/HBASE-20742
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Duo Zhang
>            Priority: Major
>
> After HBASE-20708, when master restart, we will scan the wal directory to 
> find out the live servers. In most cases this is OK, as when we create a 
> HRegion instance at RS side, we will create a WAL for it, and the directory 
> which contains the server name will be there, even if user always use 
> SKIP_WAL.
> But there could still be problem as the directory is created in the 
> implementation of WAL, not in the initialization of region server, so if user 
> uses DisabledWALProvider then we will be in trouble.
> So let's fix it.



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

Reply via email to