Details
-
Improvement
-
Status: Patch Available
-
Trivial
-
Resolution: Unresolved
-
0.7.1, 1.1.1
-
None
-
None
-
On Windows, NIO2's Files.move operation may not allow atomic file replacement, in which case it would have to fall back to the existing method.
Description
A PutFile configured with the "replace" conflict resolution strategy will first delete any existing file and then move the new temporary file into place. This causes there to be a small period of time where the file does not exist at all. This could cause problems with other processes relying on this file to always exist.