Redriver created KUDU-3252:
------------------------------
Summary: 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
{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.3.4#803005)