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

Mahesh Reddy commented on KUDU-3252:
------------------------------------

Ignore the commit above, meant for KUDU-3532 but I accidentally put the wrong 
Jira in the commit message.

> FsManager initialized contention if two tserver instances try to call 
> CreateInitialFileSystemLayout on the same folder 
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: KUDU-3252
>                 URL: https://issues.apache.org/jira/browse/KUDU-3252
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Redriver
>            Priority: Critical
>
> {color:#1d1c1d}I scanned the Kudu source code for DeleteDir invocation, there 
> are 2 places: 
> {color}[https://github.com/apache/kudu/blob/master/src/kudu/fs/fs_manager.cc#L384]{color:#1d1c1d}
>  and 
> {color}[https://github.com/apache/kudu/blob/master/src/kudu/fs/fs_manager.cc#L485]{color:#1d1c1d}.{color}
> {color:#1d1c1d}Imagine, I start kudu-tserver twice by mistake, finally only 
> one kudu-tserver started, is it possible that its folder may be removed by 
> another kudu-tserver since it failed to start.{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to