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

Andrew Wong commented on KUDU-2153:
-----------------------------------

I'm more inclined to go down the latter route. As striping metadata/WALs seems 
to be looming over the horizon, it's looking like these "special" directories 
shouldn't be treated all that specially.

> Servers delete tmp files before obtaining directory lock
> --------------------------------------------------------
>
>                 Key: KUDU-2153
>                 URL: https://issues.apache.org/jira/browse/KUDU-2153
>             Project: Kudu
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.2.0, 1.3.1, 1.4.0, 1.5.0
>            Reporter: Todd Lipcon
>
> In FsManager::Open() we currently call DeleteTmpFiles very early, before 
> starting the block manager. This means that, if you accidentally start a 
> tserver while another is running, it's possible for it to delete temporary 
> files that are in-use by the running tserver, causing it to exhibit strange 
> behavior, crash, etc (as in KUDU-2152).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to