Moving files by renaming them fails when crossing volumes and is not handled
correctly
--------------------------------------------------------------------------------------
Key: ACE-154
URL: https://issues.apache.org/jira/browse/ACE-154
Project: Ace
Issue Type: Bug
Reporter: Marcel Offermans
In o.a.a.obr.storage.file.BundleFileStore.put() we first create a temporary
file and then move it to the store by renaming it. If the temporary file is
created on a different volume, the rename will fail. We need to either:
a) detect this and do a copy instead in such cases,
b) make sure the temporary files always reside on the same volume as the store.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira