opensourcecontributors icon indicating copy to clipboard operation
opensourcecontributors copied to clipboard

archive-processor should process files atomically

Open hut8 opened this issue 9 years ago • 0 comments

If the processor crashes, an incomplete gzip is left in the output directory. That stops the rest of the archive from being processed on the next invocation, because if the file is in the destination directory and not empty, it thinks it's done.

The output archive should be written to a temporary file, then moved atomically to the destination.

hut8 avatar May 11 '15 22:05 hut8