You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Kevin Duling (JIRA)" <ji...@apache.org> on 2017/03/01 17:57:45 UTC

[jira] [Resolved] (GEODE-2560) Missing disk files (.crf) during backup/restore throws exception

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

Kevin Duling resolved GEODE-2560.
---------------------------------
    Resolution: Fixed

Added a test to ensure the file exists prior to executing the copy.

> Missing disk files (.crf) during backup/restore throws exception
> ----------------------------------------------------------------
>
>                 Key: GEODE-2560
>                 URL: https://issues.apache.org/jira/browse/GEODE-2560
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Kevin Duling
>            Assignee: Kevin Duling
>             Fix For: 1.2.0
>
>
> The old FileUtil.copy was a noop if the src file did not exist.
> The new FileUtils.copyFile throws a FileNotFoundException if the src file does not exist.
> Protect against missing file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)