Actions
Bug #19218
closedbackup file are not copied correctly when the destination directory is on another FS
Status:
Released
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
When the destination directory of java.nio.files.File.move
is not in the same directory, it does not work and should throw an exception. Somehow, betterfiles eats it and we remain with only pain and sorrow.
We need to revert back from #16382 where we tried to improve performance with `java.nio` and visibly failed.
This ticket should:
- use a safer methods (FileUtils
) - but still warn that the destination is bad,
- allow to not set a backup path.
Actions