Nugine / s3s

S3 Service Adapter
Apache License 2.0
133 stars 33 forks source link

s3s-fs: fix consistency of multipart uploads via a temp file #117

Closed amunra closed 9 months ago

amunra commented 9 months ago

Following on from https://github.com/Nugine/s3s/pull/116, this PR introduces the use of temp files for multipart uploads as well. This is to improve consistency of writes.

With this change, all file writes are now performed via a temporary file first which is then renamed to its final location.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.