[ 
https://issues.apache.org/jira/browse/IGNITE-24337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Shergalis updated IGNITE-24337:
---------------------------------------
    Description: It is definitely not correct that deleteIfExists method throws 
error if the directory doesn't exist. Checking if file exists before calling 
this method is race-prone (it could get deleted by another thread after this 
check)

> Don't throw NoSuchFileException in IgniteUtils.deleteIfExistsThrowable
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-24337
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24337
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Philipp Shergalis
>            Assignee: Philipp Shergalis
>            Priority: Major
>              Labels: ignite-3
>
> It is definitely not correct that deleteIfExists method throws error if the 
> directory doesn't exist. Checking if file exists before calling this method 
> is race-prone (it could get deleted by another thread after this check)



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

Reply via email to